Guest User

Untitled

a guest
Feb 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void main(void) {
  5. int x[10];
  6. for (int i=0; i < 10; i++) {
  7. x[i] = 0;
  8. }
  9. return;
  10. }
  11.  
  12. error C2143: syntax error : missing ';' before 'type'
  13.  
  14. void main(void) {
  15. int i;
  16. int x[10];
  17. for (i=0; i < 10; i++) {
  18. x[i] = 0;
  19. }
  20. return;
  21. }
Add Comment
Please, Sign In to add comment