On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
No Answer is Posted For this Question
Be the First to Post Answer
What are templates? where we should use it?
catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;
i want the NIC programmer-B model papaer pattren, iwant the all model papers?
What are the different types of variables in C++?
Can turbo c++ run c program?
How do you generate a random number in c++?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Explain virtual class?
What is private public protected in c++?
When you overload member functions, in what ways must they differ?
What is array in c++ example?
What is difference between malloc()/free() and new/delete?