fork download
  1. #inclde<stdio.h>
  2. int main()
  3. {
  4. int i=10;j=10;c;
  5. c=i+j;
  6.  
  7. printf("%d",c);
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:2: error: invalid preprocessing directive
#inclde<stdio.h>
 ^
prog.c:4:10: error: use of undeclared identifier 'j'
int i=10;j=10;c;
         ^
prog.c:4:15: error: use of undeclared identifier 'c'
int i=10;j=10;c;
              ^
prog.c:5:1: error: use of undeclared identifier 'c'
c=i+j;
^
prog.c:5:5: error: use of undeclared identifier 'j'
c=i+j;
    ^
prog.c:7:1: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
printf("%d",c);
^
prog.c:7:1: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
prog.c:7:13: error: use of undeclared identifier 'c'
printf("%d",c);
            ^
1 warning and 6 errors generated.
stdout
Standard output is empty