Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Can a for statement loop indefinitely?

6 like 0 dislike
Hello
Can a for statement loop indefinitely?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

1 like 0 dislike
 
Best answer
Yes, a for statement can loop indefinitely. For example, consider the following: for(;;)
answered 1 year ago by eagles11 (179,830 points)

Related questions

1 like 0 dislike
0 answers
2 like 0 dislike
0 answers
3 like 0 dislike
0 answers
asked 1 year ago by marck_don (191,010 points)
3 like 0 dislike
0 answers
asked 1 year ago by marck_don (191,010 points)
4 like 0 dislike
1 answer