1.

What kind of error can arise when there is a problem with memory?(a) Segmentation fault(b) Produce an error(c) Both Segmentation fault & Produce an error(d) runtime errorI got this question during an interview.My question is based upon Resource Management topic in chapter Derived Classes, Templates & Exception Handling in C++ of C++

Answer» RIGHT choice is (a) SEGMENTATION fault

Explanation: segmentation fault error can ARISE when there is a problem with MEMORY.


Discussion

No Comment Found

Related InterviewSolutions