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 / ram
main method cannot return any value.
| Is This Answer Correct ? | 6 Yes | 28 No |
Post New Answer View All Answers
What do you mean by friend class & friend function in c++?
What is object in c++ wikipedia?
What is the limitation of cin while taking input for character array?
Why should we use null or zero in a program?
Write about a nested class and mention its use?
Is there structure in c++?
What does count ++ do in c++?
How to declare an array of pointers to integer?
write a function signature with various number of parameters.
What is near, far and huge pointers? How many bytes are occupied by them?
What is pair in c++?
Explain rethrowing exceptions with an example?
Is atoi safe?
Write a program to find the Fibonacci series recursively.
What is a constant reference?