fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. Int a,b,c;
  6. Print("enter the values"/n);
  7. Scanf("%d%d",&a&b);
  8. C=a+b;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
a=5,b=10
compilation info
prog.c: In function ‘main’:
prog.c:5:7: error: unknown type name ‘Int’
       Int a,b,c;
       ^~~
prog.c:6:7: warning: implicit declaration of function ‘Print’ [-Wimplicit-function-declaration]
       Print("enter the values"/n);
       ^~~~~
prog.c:6:32: error: ‘n’ undeclared (first use in this function)
       Print("enter the values"/n);
                                ^
prog.c:6:32: note: each undeclared identifier is reported only once for each function it appears in
prog.c:7:7: warning: implicit declaration of function ‘Scanf’ [-Wimplicit-function-declaration]
       Scanf("%d%d",&a&b);
       ^~~~~
prog.c:7:22: error: invalid operands to binary & (have ‘int *’ and ‘int’)
       Scanf("%d%d",&a&b);
                    ~~^
prog.c:8:7: error: ‘C’ undeclared (first use in this function)
       C=a+b;
       ^
prog.c:5:15: warning: unused variable ‘c’ [-Wunused-variable]
       Int a,b,c;
               ^
stdout
Standard output is empty