PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code? <code> 1 <?php 2 $a = ‘a’; $b = ‘b’

What is the output of the following code?
<code>
1 <?php
2 $a = ‘a’; $b = ‘b’;
3 echo isset($c) ? $a.$b.$c : ($c = ‘c’).’d’;
4 ?>
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
abc

B.
cd

C.
0d


Leave a Reply

Your email address will not be published. Required fields are marked *