Advertisements
Advertisements
प्रश्न
Consider the following code
<? php
$count=12;
do{
printf(“%d squared=%d<br/>”,
$count, pow($count,2));
} while($count<4);
?>
What will be the output of the code.
विकल्प
12 squared 141
12 squared=141
“12 squared=141”
Execution error
MCQ
Advertisements
उत्तर
Execution error
shaalaa.com
Looping Structure
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
Define Looping Structure in PHP.
Write Syntax of For loop in PHP.
Write Syntax of Do while loop in PHP.
Compare for loop and for each loop.
Write short notes on Do while Loop.
Differentiate While and Do while loops.
Explain Looping Structure in PHP.
Explain the process Do while loop.
Explain working of loops in array.
