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-;
}
}
What is a class in C++?
1 Answers Amazon, TCS, UGC Corporation,
What is an abstract class in C++
0 Answers SwanSoft Technologies,
what is friend function in C++?
Define namespace.
Explain the difference between C and C++.
Is deconstructor overloading possible? If yes then explain and if no Then why?
What is data abstraction? How is it implemented in C++?
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,
What is the meaning of the following declaration: int *const *const *i?
What is the difference between malloc, calloc and realloc?
Explain function prototypes in C++.
What is a COPY CONSTRUCTOR and when is it called?