हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

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”; ?> - Computer Applications

Advertisements
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

उत्तर

Counter is: 20

shaalaa.com
Looping Structure
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Looping Structure - Evaluation - PART – I [पृष्ठ ११७]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
अध्याय 7 Looping Structure
Evaluation - PART – I | Q 5. | पृष्ठ ११७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×