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 / mohammed afroz

There are compile time error in this program. Because array
can declare with a constant value.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are manipulators used for?

1039


What operators can you overload in c++?

996


How do you decide which integer type to use?

951


Difference between overloading vs. Overriding

1027


What is c++ flowchart?

1322


Can c++ be faster than c?

989


How do we balance an AVL Tree in C++?

1088


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

1101


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

2525


What are the types of container classes?

1087


What are the rules about using an underscore in a c++ identifier?

1095


How the virtual functions maintain the call up?

1089


What are the vectors in c++?

986


Define a conversion constructor?

1028


What language does google use?

1082