C programming Part II
What is output by the following code?
char str[] = "Mississippi";
int count = 0;
for (int i = 0, len = strlen(str); i < len; i++){
if ('S' == toupper(str[i])){
count++;
};
}
printf("count = %i\n", count);