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
What are the advantages/disadvantages of using inline and const?
Describe the different styles of function prototypes in C++.
Briefly explain various access specifiers in C++.
What do you know about Volatile keyword in C++? Explain with an example code.
What are the costs and benefits of using exceptions?
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
Discuss the role of C++ shorthands.
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?
What does malloc return in C and C++?
What is an abstract class?
What is a class in C++?
1 Answers Amazon, TCS, UGC Corporation,
dynamic scoping is