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
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What is a hashmap c++?
Why we use #include iostream in c++?
Define a constructor - what it is and how it might be called (2 methods)?
Can a function take variable length arguments, if yes, how?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Why is the function main() special?
What is setf in c++?
Why c++ is called oop?
Should the this pointer can be used in the constructor?
What are structs in c++?
What is the best book for c++ beginners?
Which bit wise operator is suitable for turning off a particular bit in a number?
How does atoi function work?
what are Operators and explain with an example?