I am basically saying as long as the position in the array is not NULLCode:void strCase(char s[]) { int i; while (s[i] != NULL) { s[i] = toupper(s[i]); i++; } }
make the character a capital
but why am I not allowed to compare an integer (i) and a pointer (Null)??
[Warning] comparison between pointer and integer