PdfPrep.com

echo isset($c)?

What is the output of the following code?

$a= ‘a’; $b = ‘b’;

echo isset($c)? $a.$b.$c: ($c = ‘c’).’d’;
A . abc
B . cd
C . 0d

Answer: B

Exit mobile version