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

Post New Answer

More C++ General Interview Questions

What is an inclusion guard?

0 Answers  


let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.

1 Answers  


How can you specify a class in C++?

0 Answers  


Explain the isa and hasa class relationships.

0 Answers  


What is a Default constructor?

1 Answers  






How to tokenize a string in c++?

0 Answers  


What is the use of namespace std in C++?

0 Answers   Hexaware,


What is a base class?

0 Answers  


Which compiler does turbo c++ use?

0 Answers  


How to create a pure virtual function?

1 Answers  


What is the most powerful coding language?

0 Answers  


What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

1 Answers   Yahoo,


Categories