Q244
What will be the output of the following C++ code? #include #include #include using namespace std; int main() string s('a'); cout<<s; return 0;
A.
a
B.
empty string
C.
Error
AnswerD.
Segmentation fault
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board