Q939
What will be the output of the following C++ code? #include #include int main () int i = 0; char str[] = "Steve Jobs "; char c; while (str[i]) c = str[i]; if (islower(c)) c = toupper(c); putchar (c); i++; return 0;
A.
Steve jobs
B.
STEVE JOBS
AnswerC.
Steve
D.
JOBS
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board