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
Why cout is used in c++?
What is difference between class and structure in c++?
what are the events occur in intr activated on interrupt vector table
What is decltype c++?
What is a stack c++?
What is c++ mutable?
What is the operator in c++?
How to access a variable of the structure?
What is a stack? How it can be implemented?
What is a manipulator in c++?
Specify some guidelines that should be followed while overloading operators?
What is object in c++ wikipedia?
Carry out conversion of one object of user-defined type to another?
why is c++ called oops? Explain
What is searching?