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 / anil hooda

it will return any integer value.....

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is endianness?

875


Which is not a valid keyword a) public b) protected c) guarded

1010


What is the type of this pointer in c++?

829


What are protected members in c++?

885


How does java differ from c and c++?

731


What is a driver program?

868


If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

827


What is a c++ vector?

796


What is an arraylist c++?

922


What is the advantage of an external iterator.

777


Discussion on error handling of C++ .

864


Why c++ is faster than java?

830


What are friend functions in C++?

829


What is the difference between new() and malloc()?

1236


What are compilers in c++?

856