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 do you mean by exception handling in C++?
Explain the FOR loop with a help of a code.
Write a syntax and purpose of switch statement.
Explain the difference between C and C++.
What does it mean to declare a function or variable as static?
What is bool in C++
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
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-; } }
Discuss the role of C++ shorthands.
What is function overloading and operator overloading in C++?
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
What are pass by value and pass by reference?what is the disadvantage of pass by value?