English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Define for loop in PHP. - Computer Applications

Advertisements
Advertisements

Question

Define for loop in PHP.

Definition

Solution

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
  Is there an error in this question or solution?
Chapter 7: Looping Structure - Evaluation - PART – II [Page 118]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 7 Looping Structure
Evaluation - PART – II | Q 2. | Page 118
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×