fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. int a = 100, b=25;
  7. result=a-b;
  8. printf("a-b = %i\n", result);
  9.  
  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:7: error: ‘result’ undeclared (first use in this function)
prog.c:7: error: (Each undeclared identifier is reported only once
prog.c:7: error: for each function it appears in.)
stdout
Standard output is empty