Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

To what does “event-driven” refer?

1058


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1090


What is array in c++ pdf?

1181


Discuss the possibilities related to the termination of a program before entering the mainq method?

946


Can I create my own functions in c++?

1081


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2476


What is encapsulation in C++? Give an example.

1089


What is class syntax c++?

1153


Should the member functions which are made public in the base class be hidden?

1030


how to explain our contribution in the project?

3695


What are protected members in c++?

1132


Can you explicitly call a destructor on a local variable?

1028


Explain how overloading takes place in c++?

1040


What is purpose of new operator?

1071


What do you mean by persistent and non persistent objects?

1430