echo isset($c)?

Posted by: Pdfprep Category: 200-710 Tags: , ,

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

Leave a Reply

Your email address will not be published.