Computer Science, asked by shaluambawata731, 11 months ago

will a for loop execute without initialization?

Answers

Answered by MrCoder
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;
}
Similar questions