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 the difference between realloc() and free() in C++?
What is meant by exit controlled loop?
Difference between function overloading and function overriding.
What is a memory leak in C++?
Explain what happens when an exception is thrown in C++.
what is the difference between a pointer and a reference?
0 Answers Amazon, Blue Star, C DAC,
Explain the operator overloading feature in C++ ?
Write a C++ program to print strings in reverse order.
Write a C++ Program to Find whether given Number is Odd or Even.
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
Can we use THIS Pointer in static function – Reason in C++?
Explain encapsulation in C++.