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
Do vectors start at 0 c++?
What is exception handling? Does c++ support exception handling?
What is data abstraction? How is it different from data encapsulation?
What are the two shift operators and what are their functions?
How are the features of c++ different from c?
What is long in c++?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
How compile and run c++ program in turbo c++?
what is pre-processor in C++?
What is else if syntax?
What is the best it certification?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
What are the types of pointer?
What is java and c++?
Does c++ cost money?