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 the difference between malloc, calloc and realloc?
How to run C++ program in cmd
What is RTTI and why do you need it?
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).
How to invoke a C function using a C++ program?
What does malloc return in C and C++?
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 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?
What is a constructor initializer list?
Question on Copy constructor.
What does it mean to declare a function or variable as static?