Advertisements
Advertisements
प्रश्न
What will be the output of the following PHP code?
<?php
for ($x = -1; $x < 10;--$x)
{
print $x;
}
?>पर्याय
123456713910412
123456713910
1234567139104
Infinite loop
MCQ
Advertisements
उत्तर
Infinite loop
shaalaa.com
Looping Structure
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
The loop exclusively used for arrays is _____.
Loops that iterate for fixed number of times is called ______.
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
Define Looping Structure in PHP.
Define for loop in PHP.
Compare for loop and for each loop.
Explain the use of for each loop in PHP.
Write the purpose of Looping Structure in PHP.
Differentiate While and Do while loops.
Explain working of loops in array.
