+ 1
would someone please explain that can a for loop have two initializers,two conditions,and two increments or more than that
for(int i=0,j=0;a<10,b>10;i++,j++){}
3 Réponses
+ 3
Yes, you can have more than one initializer
0
just for for loops or for otheors too
0
can it be used only in for loop conditions. or in any other condition loops.. if so can u please mention there names.. thank you