I am new to programming C.. please tell me what is wrong with this program, and why I am getting this error: error C2143: syntax error : missing \';\' before \'type\
I haven't used visual in at least 8 years, but it seems that Visual's limited C compiler support does not allow mixed code and variables. Is the line of the error on the declaration for int i=1; ?? Try moving it above the call to func();