Advertisements
Advertisements
प्रश्न
Define for loop in PHP.
परिभाषा
Advertisements
उत्तर
For loop is an important functional looping system which is used for iteration logics when the programmer know in advance how many times the loop should run.
Syntax:
for (init counter; test counter; increment counter)
{
code to be executed;
}shaalaa.com
Looping Structure
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
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?
What is For each loop in PHP?
Write Syntax of For each loop in PHP.
Write Syntax of Do while loop in PHP.
Write the features Looping Structure.
Write the purpose of Looping Structure in PHP.
Write short notes on Do while Loop.
Explain Looping Structure in PHP.
Explain concepts of for loop with example.
