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 name mangling/name decoration?
What are the fundamental features of an object-oriented language?
Factory Method C++ – How to delete pointers returned by it
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
What are pass by value and pass by reference?what is the disadvantage of pass by value?
what do you mean by exception handling in C++?
Define type casting in C++.
What is Copy Constructor?
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?
Explain about Searching and sorting algorithms with complexities
Explain why C++ is not purely Object Oriented Language
Write a program to generate the Fibonocci Series in C++.