will a for loop execute without initialization?
Answers
Answered by
0
yes it can but the loop will be infinite by system until you create a base statement to breake the loop.
ex:
for (int i=0;; i++)
{
if (i==5)
breake;
}
ex:
for (int i=0;; i++)
{
if (i==5)
breake;
}
Similar questions