fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int vetor[10] = {0};
  5. vetor[10] = {0};
  6. return 0;
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:5:14: error: expected expression before '{' token
  vetor[10] = {0};
              ^
prog.c:4:6: error: variable 'vetor' set but not used [-Werror=unused-but-set-variable]
  int vetor[10] = {0};
      ^
cc1: all warnings being treated as errors
stdout
Standard output is empty