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