1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include <stdio.h> main() { int i; i=1; mylevel: if(i%2==0){ printf("%d\n",i); i++; } if(i<=20){ goto mylevel; } } |
Thursday, March 3, 2016
goto example in C
Labels:
C Programming
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)