0

Whether for loop can be written in other ways?

syntax :for (i=initialisation;condition;increment (or)decrement) example: for (i=100;i>0;printf ("%d",i--)); in this see there is a semicolon.its not meant an error.for loop also have semicolon for termination of loop.it is common to all loop.

26th Mar 2018, 2:34 PM
Divyamohanraj
Divyamohanraj - avatar
0 Respuestas