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 / blacky
Compiler will Core Dump
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Is c++ the hardest programming language?
What is the best c++ compiler for windows 10?
How do you flush a buffer in c++?
What is the insertion operator and what does it do?
In a function declaration, what does extern mean?
why is iostream::eof inside a loop condition considered wrong?
What is c++ stringstream?
How we can differentiate between a pre and post increment operators during overloading?
How to declare a function pointer?
What is the difference between containment and delegation?
Why is main an int?
What is the difference between cin.read() and cin.getline()?
Define anonymous class.
What is scope resolution operator in c++ with example?
What does int * mean in c++?