Factory Method C++ – How to delete pointers returned by it


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

write a program To generate the Fibonacci Series.

0 Answers   Accenture,


What are issues if we mix new and free in C++?

0 Answers  


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


When would you choose to return an error code rather than throw an exception?

0 Answers   Amazon,


How can you force the compiler to not generate them?

0 Answers   Amazon,


What is Advantage and Use of THIS pointer in C++ – Scenarios?

0 Answers  


How to convert integer to string in C++

0 Answers  


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


In C++ what is the meaning of data hiding?

0 Answers   Aricent,


What is placement new?

1 Answers   Amazon,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


Tell us the size of a float variable.

0 Answers   Accenture,


Categories