fork download
  1. #include<stdio.h>
  2. typedef void v;
  3. typedef int i;
  4.  
  5. int main()
  6. {
  7. v fun(i, i);
  8. fun(2, 3);
  9. return 0;
  10. }
  11. v fun(i a, i b)
  12. {
  13. i s=2;
  14. cahr i;
  15. printf("%d,", sizeof(i));
  16. printf(" %d", a*b*s);
  17. }
  18.  
  19.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘fun’:
prog.c:14: error: ‘cahr’ undeclared (first use in this function)
prog.c:14: error: (Each undeclared identifier is reported only once
prog.c:14: error: for each function it appears in.)
prog.c:14: error: expected ‘;’ before ‘i’
stdout
Standard output is empty