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

What is the difference between public, private, and protected inheritance?

0 Answers   Amazon,


What does it mean to declare a member function as static in C++?

0 Answers   Amazon,


Identify the error in the following program. #include<iostream.h> void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }

1 Answers  


What is the difference between member functions and static member functions?

0 Answers   Alter,


Write a C++ Program to Find whether given Number is Odd or Even.

1 Answers  






In C++ what do you mean by Inheritance?

0 Answers   Accenture,


How to reverse a string in C++

0 Answers  


How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

0 Answers   Adobe,


What do you know about Volatile keyword in C++? Explain with an example code.

0 Answers   Adobe,


Explain the FOR loop with a help of a code.

0 Answers   Accenture,


What is RTTI and why do you need it?

0 Answers   Amazon,


Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70

1 Answers  


Categories