Factory Method C++ – How to delete pointers returned by it
write a program To generate the Fibonacci Series.
What are issues if we mix new and free in C++?
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?
When would you choose to return an error code rather than throw an exception?
How can you force the compiler to not generate them?
What is Advantage and Use of THIS pointer in C++ – Scenarios?
How to convert integer to string in C++
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
In C++ what is the meaning of data hiding?
What is placement new?
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
Tell us the size of a float variable.