Identify the error in the following program.
#include<iostream.h>
void main()
{
int i = 0;
i = i + 1;
cout « i « " ";
/*comment *//i = i + 1;
cout << i;
}
What do you know about Volatile keyword in C++? Explain with an example code.
What is a COPY CONSTRUCTOR and when is it called?
To solve the 8 Queens problem, which algorithm is used?
What Is Polymorphism in C++ ?
2 Answers IBS, Impetus, ITC Indian Tobacco Company, Motorola,
What Are The Differences Between A C++ Struct And C++ Class?
Explain the operator overloading feature in C++ ?
What is RTTI and why do you need it?
Tell How To Check Whether A Linked List Is Circular ?
What are issues if we mix new and free in C++?
What is pass by value & reference.
What is Coupling?
How many times will this loop execute? Explain your answer.