Main.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^ Main.c: In function 'main': Main.c:12:8: warning: too many arguments for format [-Wformat-extra-args] printf("%d",b,c,d); ^ Main.c:12:1: error: expected declaration or statement at end of input printf("%d",b,c,d); ^ Main.c:6:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^