Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- void main(void) {
- int x[10];
- for (int i=0; i < 10; i++) {
- x[i] = 0;
- }
- return;
- }
- error C2143: syntax error : missing ';' before 'type'
- void main(void) {
- int i;
- int x[10];
- for (i=0; i < 10; i++) {
- x[i] = 0;
- }
- return;
- }
Add Comment
Please, Sign In to add comment