Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. gcc -pedantic -Wall -ansi
  2.  
  3. for(currentDirection; currentDirection <= endDirection; currentDirection++)
  4.  
  5. for(; currentDirection <= endDirection; currentDirection++)
  6.  
  7. for(currentDirection = 0; currentDirection <= endDirection; currentDirection++)
  8.  
  9. for(currentDirection; currentDirection <= endDirection; currentDirection++)
  10. // ^^^^^^^^^^^^^^^ Its saying about the above statement.
  11.  
  12. int i = 10 ;
  13. i ; // This statement is valid but has no effect.
  14.  
  15. int x = 0;
  16. for(x = 0;x < num; x++){}
  17.  
  18. int x = 0;
  19. for(; x < num; x++){}
  20.  
  21. int x;
  22. for(x = 0; x < num; x++){}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement