Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main () {
  4.  
  5. /* local variable definition */
  6. int a = 10;
  7.  
  8. /* do loop execution */
  9. LOOP:do {
  10.  
  11. if( a == 15) {
  12. /* skip the iteration */
  13. a = a + 1;
  14. goto LOOP;
  15. }
  16.  
  17. printf("value of a: %d\n", a);
  18. a++;
  19.  
  20. }
  21.  
  22. while( a < 20 );
  23.  
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement