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 / ravinder kumar(omnietysolution

Error in program

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the order in which the local objects are destructed?

1312


Out of fgets() and gets() which function is safe to use?

1199


What is the size of a vector?

1196


What are the benefits of c++?

1112


How do you clear a map in c++?

1187


Is it possible to use a new for the reallocation of pointers ?

1126


Can comments be nested?

1085


How is new() different from malloc()?

1183


How do I write a c++ program?

1172


What is nested class in c++?

1020


What is an iterator class in c++?

1199


What are the various access specifiers in c++?

1093


What is an inline function in c++?

1166


What is the main function c++?

1174


How can a called function determine the number of arguments that have been passed to it?

1201