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 are the classes in c++?

1048


Does c++ support exception handling?

1001


What is the role of copy constructor in copying of thrown objects?

1001


What is a hash function c++?

1015


What is static in c++?

1002


What is the c++ programming language used for?

984


What are associate containers?

973


Why can’t you call invariants() as the first line of your constructor?

955


What is singleton pattern in c++?

918


Is ca high or low level language?

1013


Difference between inline functions and macros?

973


What is the use of turbo c++?

1009


What is a type library?

1058


How would you obtain segment and offset addresses from a far address of a memory location?

1023


What are the various oops concepts in c++?

966