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
Ask to write virtual base class code?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
Which operator cannot overload?
What is void pointer in c++ with example?
What will the line of code below print out and why?
Why null pointer is used?
Write bites in Turbo c++ Header ("Include") Files.
Write a recursive program to calculate factorial in c++.
What are put and get pointers?
What is c++ programming language?
What is abstraction with real time example?
Differentiate between a copy constructor and an overloaded assignment operator.
What apps are written in c++?
What programming language should I learn first?
What is the difference between a reference and a pointer?