int main()
{
int i ,a[i];
i = 0;
a[i] = 10;
cout<< a[i] << endl;
return 0;
}
What will be output of this program?
Answer Posted / ravinder kumar(omnietysolution
Error in program
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Differentiate between the message and method in c++?
What is & in c++ function?
When do we run a shell in the unix system?
What is a storage class?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
Can we change the basic meaning of an operator in c++?
What is the this pointer?
What is oops in c++?
Is it possible to write a c++ template to check for a function's existence?
Give an example of run-time polymorphism/virtual functions.
What is lazy initialization in c++?
Define friend function.
Why iomanip is used in c++?
What is constructor in C++?
What is encapsulation in c++?