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 / kamal
10
| Is This Answer Correct ? | 30 Yes | 9 No |
Post New Answer View All Answers
Why is c++ considered difficult?
Please explain the reference variable in c++?
How do you compile the source code with your compiler?
Explain what happens when a pointer is deleted twice?
What is #include iostream h in c++?
what are the characteristics of Class Members in C++?
Explain Memory Allocation in C/C++ ?
Explain virtual class?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What are the two main components of c++?
What is double in c++?
Explain queue. How it can be implemented?
What is runtime polymorphism in c++?
What you know about structures in C++?
What is a pointer with example?