मराठी

What will be displayed in a browser when the following PHP code is executed: <?php for (Scounter = 20; $counter< 10; $counter++) { echo “Welcome to Tamilnadu “; } echo “Counter is: Scounter”; ?>

Advertisements

प्रश्न

What will be displayed in a browser when the following PHP code is executed:

<?php
for (Scounter = 20; $counter< 10;
$counter++)
{
echo “Welcome to Tamilnadu “;
}
echo “Counter is: Scounter”;
?>

पर्याय

  • Welcome to Tamilnadu

  • Counter is: 20

  • Welcome to Tamilnadu Counter is: 22

  • Welcome to Tamilnadu Welcome to Tamilnadu Counter is: 22

MCQ
Advertisements

उत्तर

Counter is: 20

shaalaa.com
Looping Structure
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Looping Structure - Evaluation - PART – I [पृष्ठ ११७]
Advertisements
Share
Notifications



      Forgot password?
Use app×