prog.c: In function ‘main’:
prog.c:5:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf(PRODUCT of 3 and 5 %d",PRODUCT (3-5,5+7));
^~~~~~
prog.c:5:1: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:5:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
prog.c:5:8: error: ‘PRODUCT’ undeclared (first use in this function)
printf(PRODUCT of 3 and 5 %d",PRODUCT (3-5,5+7));
^~~~~~~
prog.c:5:8: note: each undeclared identifier is reported only once for each function it appears in
prog.c:5:16: error: expected ‘)’ before ‘of’
printf(PRODUCT of 3 and 5 %d",PRODUCT (3-5,5+7));
^~
prog.c:5:29: warning: missing terminating " character
printf(PRODUCT of 3 and 5 %d",PRODUCT (3-5,5+7));
^
prog.c:5:29: error: missing terminating " character
printf(PRODUCT of 3 and 5 %d",PRODUCT (3-5,5+7));
^~~~~~~~~~~~~~~~~~~~~
prog.c:7:1: error: expected ‘;’ before ‘}’ token
}
^