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
Where is atoi defined?
What is the use of this pointer in c++?
Can I learn c++ without learning c?
What is an object in c++?
Is c++ faster than c?
What is the difference between global variables and static varables?
What do you mean by early binding?
What is the best way to declare and define global variables?
What is general form of pure virtual function? Explain?
What are the rules about using an underscore in a c++ identifier?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What do the header files usually contains?
Is there finally in c++?
Define a nested class.
Explain object slicing in c++?