1.

When do we call that resource is leaked?(a) Arise of compile time error(b) It cannot be accessed by any standard mean(c) Arise of runtime error(d) It can be accessed by any standard meanThis question was addressed to me in quiz.Question is taken from Resource Management topic in portion Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

The correct choice is (B) It cannot be ACCESSED by any standard mean

The EXPLANATION is: Resource is said to be LEAKED when it cannot be accessed by any means of standard mean.



Discussion

No Comment Found

Related InterviewSolutions