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
What's the order in which the local objects are destructed?
Out of fgets() and gets() which function is safe to use?
What is the size of a vector?
What are the benefits of c++?
How do you clear a map in c++?
Is it possible to use a new for the reallocation of pointers ?
Can comments be nested?
How is new() different from malloc()?
How do I write a c++ program?
What is nested class in c++?
What is an iterator class in c++?
What are the various access specifiers in c++?
What is an inline function in c++?
What is the main function c++?
How can a called function determine the number of arguments that have been passed to it?