Question:What do you infer from the following code?
<?php
        $str = 'Dear Customer, \nThanks for your query. We will reply very soon.?\n Regards. \n Customer Service Agent';
        print $str;
?> 

A Only first \n character will be recognised and new line will be inserted. 

B Last \n will not be recognised and only first two parts will come in new lines. 

C All the \n will work and text will be printed on respective new lines. 

D All will be printed on one line irrespective of the \n. 

+ Answer
+ Report
Total Preview: 230

Copyright © 2024. Powered by Intellect Software Ltd