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?

Answers were Sorted based on User's Feedback



int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } ..

Answer / ram

main method cannot return any value.

Is This Answer Correct ?    6 Yes 28 No

Post New Answer

More C++ General Interview Questions

What does iomanip mean in c++?

0 Answers  


How should runtime errors be handled in c++?

0 Answers  


What is a driver program?

0 Answers  


Can malloc be used in c++?

0 Answers  


What is a local variable?

0 Answers  


How do you establish a has-a relationship?

0 Answers  


Is c++ primer good for beginners?

0 Answers  


Which function cannot be overloaded c++?

0 Answers  


Do class declarations end with a semicolon?

0 Answers  


How much is size of struct having 1 char & 1 integer?

11 Answers   Persistent,


What operator is used to access a struct through a pointer a) >> b) -> c) *

0 Answers  


What is the need of a destructor? Explain with the help of an example.

0 Answers  


Categories