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
Hindi,
7 months ago
Biology,
7 months ago
Computer Science,
1 year ago
Science,
1 year ago
English,
1 year ago