prog.c:2:5: warning: return type defaults to ‘int’ [-Wimplicit-int]
main()
^~~~
prog.c: In function ‘main’:
prog.c:8:8: error: expected ‘;’ before ‘:’ token
b=c:
^
;
prog.c:6:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^~~~~~~~~~~~~~~~~~~~~