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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments