Hello,

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:
Code:
char string2[] = "Hello how are you today?";
strcpy(string2, ToUpper(string2, strlen(string2));
I keep on getting the following error message.

error C2143: syntax error : missing ')' before ';'

Any advice would be most gratefull,

Thanks,