i just started learning C today and i created this but
get this error on gcc compiling
test4.c:10: error: syntax error before ‘printf’
thank please explain why i got it wrong to so i can learn from my mistakes
SEE BOTTOM OF THREAD!
get this error on gcc compiling
test4.c:10: error: syntax error before ‘printf’
i was just playing around with C i wanted it run as tell me the answer i know i kinda got it right and just missed something silly , but it does not work#include <stdio.h>
int main ()
{
int my;
my = 4 * 6
printf("declare my next" );
return 0;
}
thank please explain why i got it wrong to so i can learn from my mistakes
SEE BOTTOM OF THREAD!