Why is destructor used?
No Answer is Posted For this Question
Be the First to Post Answer
write a C++ program for booking using constructor and destructor.
why the memory allocated with new cant be freed using free()
WHEN A COPY CONSTER IS CALL ?
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
what i oops concept, how many languages supports oops concept?
What is a class and object?
What is design patterns in C++?
what is the difference between class to class type conversion and copy constructor ?
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
The expansion of GNU
c++ program to swap the objects of two different classes
How to call a non virtual function in the derived class by using base class pointer