#include<stdio.h> int main() { int a,b,c; scanf("%d %d",&a,&b); c=a+b; printf('%d",c); return 0; } /* Main.c: In function 'main': Main.c:7:10: warning: missing terminating ' character printf('%d",c); ^ Main.c:7:10: error: missing terminating ' character printf('%d",c); ^~~~~~~~ Main.c:8:10: error: expected expression before 'return' return 0; ^~~~~~ Main.c:8:19: error: expected ';' before '}' token return 0; ^ ; } ~ Main.c:4:11: warning: variable 'c' set but not used [-Wunused-but-set-variable] int a,b,c; ^ */ |
Double click to view unformatted code.