fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int[6] a = {1,2,3,4,5,6,7};
  6. int c;
  7.  
  8. c=a[0]^a[3];
  9. printf("%d",c);
  10.  
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5: error: expected identifier or ‘(’ before ‘[’ token
prog.c:8: error: ‘a’ undeclared (first use in this function)
prog.c:8: error: (Each undeclared identifier is reported only once
prog.c:8: error: for each function it appears in.)
stdout
Standard output is empty