C programming Part II
What is output by the following code?
char text[] = "good morning";
for (int i = 0, len = strlen(text); i < len; i++){
if (isspace(text[i])){
printf("%c", text[i]);
}
else{
printf("%c", text[i] - ('a' - 'A'));
}
}