Q896
What will be the output of the following C++ code? #include #include using namespace std; int main() try char *p; strcpy(p, "How r u"); catch(const exception& er)
A.
How r u
B.
segmentation fault
AnswerC.
error
D.
runtime error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board