Friday, 18 March 2016

Can a for statement loop indefinitely ?


Yes !
A for statement can loop indefinitely.

Example 
for ( ; ; )
  // statement here

No comments:

Post a Comment

Note: only a member of this blog may post a comment.