I am return a string from a function. Function prototype:
Code:char* ToUpper(char *str, const int length);
In my main i have the following:
I keep on getting the following error message.Code:char string2 = "Hello how are you today?"; strcpy(string2, ToUpper(string2, strlen(string2));
error C2143: syntax error : missing ')' before ';'
Any advice would be most gratefull,