How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
No Answer is Posted For this Question
Be the First to Post Answer
When must you use a constructor initializer list?
Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }
Factory Method C++ – How to delete pointers returned by it
What are pass by value and pass by reference?what is the disadvantage of pass by value?
What is RTTI and why do you need it?
Without using third variable write a code to swap two numbers.
Can we use THIS Pointer in static function – Reason in C++?
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
Question on Copy constructor.
write a program To generate the Fibonacci Series.
Is deconstructor overloading possible? If yes then explain and if no Then why?
Can we provide one default constructor for our class?