Advertisements
Advertisements
प्रश्न
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
पर्याय
5
4
3
2
MCQ
Advertisements
उत्तर
5
shaalaa.com
Looping Structure
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
The loop exclusively used for arrays is _____.
What will be displayed in a browser when the following PHP code is executed;
<?php
for ($counter = 10; $counter < 10;
$counter = $counter + 5){
echo “Hello”;
}
?>Define for loop in PHP.
What is For each loop in PHP?
Compare for loop and for each loop.
Write the features Looping Structure.
Write the purpose of Looping Structure in PHP.
Differentiate While and Do while loops.
Discuss in detail about Foreach loop.
Explain working of loops in array.
