I had once learned some programming years ago, but almost can't remember how to program anymore. And now I am trying to pick up c programming again from the begining... and are stuck on how to assigning text to a variable.
Can anyone tell me why I get an error when I run something like the following in a program? Thanks.
warning: In function ‘main’:
test1.c:57: warning: assignment makes integer from pointer without a cast
printf("Month is: \n",mon);