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