Shall we use 'free' to free memory assigned by new, What are
the further consequences??
Answer Posted / uma sankar pradhan
No,we shouldnot use 'free' to free memory assigned by new.
It causes memory leak and sometimes hanging of the system
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which of the following is evaluated first: a) && b) || c) !
Which function cannot be overloaded c++?
What are exceptions c++?
Define anonymous class.
What is static in c++?
Define stacks. Provide an example where they are useful.
Which bit wise operator is suitable for checking whether a particular bit is on or off?
What is this pointer in c++?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is recursion?
Write a c program for binary addition of two 8 bit numbers.
What is the basic of c++?
How do you clear a set in c++?
Is ca high or low level language?