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 / ramesh kumar

in array we can must enter size integer...
not as variable type like i
thats why it gives an error

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by entry controlled loop? What all C++ loops are exit controlled?

1150


what is the use of void main() in C++ language?

1178


What is auto type c++?

1173


Can you pass an array to a function in c++?

1058


what you know about c++?

1201


Discussion on error handling of C++ .

1167


Explain the static storage classes in c++.

1331


Is c++ used anymore?

1139


Can we distribute function templates and class templates in object libraries?

1136


What is difference between class and function?

1157


What are the defining traits of an object-oriented language?

1265


What are containers in c++?

1038


What are the advantages of early binding?

1121


What is a friend function in c++?

1784


You want to link a c++ program to c functions. How would you do it?

1042