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-;
}
}
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
Define an Abstract class in C++?
Explain the difference between C and C++.
Write a C++ Program to Find Sum and Average of three numbers.
What is meant by exit controlled loop?
Do you know about Agilent PRECOMPILERS. ?
What are the major differences between C and C++?
What is static variable and difference between(const char *p,char const *p,const char* const p).
What does it mean to declare a member function as static in C++?
Tell How To Check Whether A Linked List Is Circular ?
what is a pragma in C++?
Write a program that can take input from 3 to 8 and calculate the average?