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 / ramez

Constant expression will be required here...

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is auto type c++?

620


What is the difference between the functions memmove() and memcpy()?

620


Describe delete operator?

614


Do the parentheses after the type name make a difference with new?

640


Tell me what are static member functions?

602






What is the best it certification?

575


Write a c program for binary addition of two 8 bit numbers.

3655


What is the full form nasa?

592


What are activex and ole?

533


Do we have to use initialization list in spite of the assignment in constructors?

557


what is Loop function? What are different types of Loops?

631


How a pointer differs from a reference?

684


What is auto used for in c++?

558


What is operator overloading in c++ example?

645


Show the application of a dynamic array with the help of an example.

576