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 / anil hooda
it will return any integer value.....
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What are virtual functions in c++?
How can you tell what shell you are running on unix system?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
What is lazy initialization in c++?
What do you mean by enumerated data type?
How does c++ structure differ from c++ class?
Which is best ide for c++?
Discuss the possibilities related to the termination of a program before entering the mainq method?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
Explain the static member function.
What is the use of bit fields in structure declaration?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Difference between declaration and definition of a variable.
What do you mean by public protected and private in c++?
What is vector pair in c++?