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

This will not get compile.

int i , a[i] ; // This statement will given error. Constant
expression required.

Is This Answer Correct ?    38 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain this pointer?

1013


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

1518


What is virtual methods?

1082


What is the fastest c++ compiler?

1042


Comment on c++ standard exceptions?

1045


How do I start a c++ project?

1013


What does extern mean in a function declaration in c++?

1162


What is the iunknown interface?

1085


What c++ is used for?

1021


What is virtual destructor? What is its use?

1014


What is class definition in c++ ?

1041


Explain how to initialize a const data member.

1079


What is recursion?

1961


Are strings immutable in c++?

1126


What is the meaning of string in c++?

1024