Shall we use 'free' to free memory assigned by new, What are
the further consequences??
Answer Posted / aruna kumar samal
yes you can use free to free memory assignrd by new but it
wo not call the destructor.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Write a C++ Program to check whether a number is prime number or not?
program explaining feautures of c++
Explain what are the sizes and ranges of the basic c++ data types?
Differentiate between late binding and early binding. What are the advantages of early binding?
What is general form of pure virtual function? Explain?
What is the difference between #define debug 0 and #undef debug?
What is rtti in c++?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What are pointers used for c++?
What do you mean by function overriding & function overloading in c++?
What size is allocated to the union variable?
Explain how the virtual base class is different from the conventional base classes of the opps.
Explain the operation of overloading of an assignment operator.
What is c++ good for?
What is a stack c++?