Q27
What is the output of the following code: char str[] = "Hello"; cout << sizeof(str); in C++?
A.
5
B.
4
C.
Compilation error
D.
6
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board