मराठी

What will be the output of the following PHP code? <?php $x = 0; if ($x++) print “hi”; else print “how are u”; ?>

Advertisements

प्रश्न

What will be the output of the following PHP code?

<?php
$x = 0;
if ($x++)
print “hi”;
else
print “how are u”;
?>

पर्याय

  • hi

  • no output

  • error

  • how are u

MCQ
Advertisements

उत्तर

hi

shaalaa.com
Php Conditional Statements
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: PHP Conditional Statements - Evaluation - PART – I [पृष्ठ १०९]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
पाठ 6 PHP Conditional Statements
Evaluation - PART – I | Q 2. | पृष्ठ १०९
Advertisements
Share
Notifications



      Forgot password?
Use app×