#include &lt;iostream&gt;    #include&lt;string.h&gt;    using namespace std;    int main&#40;&#41;    &#123;        try        &#123;            char *p;            strcpy&#40;p, &quot;How r u&quot;&#41;;        &#125;        catch&#40;const exception&amp; er&#41;        &#123;        &#125;    &#125;
A. How r u
B. segmentation fault
C. error
D. runtime error
Answer:A
#include &lt;iostream&gt;    #include&lt;string.h&gt;    using namespace std;    int main&#40;&#41;    &#123;        try        &#123;            char *p;            strcpy&#40;p, &quot;How r u&quot;&#41;;        &#125;        catch&#40;const exception&amp; er&#41;        &#123;        &#125;    &#125;
A. How r u B. segmentation fault C. error D. runtime error
Explanation:As we are using a pointer value to copy a string, So it will be producing a runtime error.