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