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 an algorithm (in terms of the STL/C++ standard library)?
What are issues if we mix new and free in C++?
Write a program to generate the Fibonocci Series in C++.
Write a program that can take input from 3 to 8 and calculate the average?
How to convert integer to string in C++
What Is Polymorphism in C++ ?
2 Answers IBS, Impetus, ITC Indian Tobacco Company, Motorola,
What is an abstract class?
What is a class in C++?
1 Answers Amazon, TCS, UGC Corporation,
What is wrong with this statement? std::auto_ptr ptr(new char[10]);
What is latest update of C++ ?
Explain the FOR loop with a help of a code.
what is a pragma in C++?