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 is a constructor initializer list?
Question on Copy constructor.
Difference between Call by pointer and by reference.
To solve the 8 Queens problem, which algorithm is used?
What are the advantages and disadvantages of B-star trees over Binary trees?
CDPATH shell variable is in(c-shell)
Define an Abstract class in C++?
What is data abstraction? How is it implemented in C++?
How does free know the size of memory to be deleted
In C++ what is the meaning of data hiding?
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
When would you choose to return an error code rather than throw an exception?