Answer Posted / sudhir
delete this will not work because 'this' is not available to
global functions .this is only available to class member
functions.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is the use of function pointer?
Are strings mutable in c++?
How do you sort a sort function in c++ to sort in descending order?
What is an inclusion guard?
What does the ios::ate argument do?
What is vector pair in c++?
What is virtual destructor? What is its use?
What is a virtual destructor? Explain the use of it?
What are the two types of polymorphism?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
Describe private, protected and public?
What is a local reference?
Why do we need constructors in c++?
What is a memory leak c++?