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 is an overflow error?

0 Answers  


Explain function overloading and operator overloading.

0 Answers  


What is the difference between the compiler and the preprocessor?

0 Answers  


Explain the scope resolution operator?

2 Answers  


What are shallow and deep copy?

0 Answers  


What is the difference between const and constexpr?

4 Answers  


What are the two main components of c++?

0 Answers  


What is an adaptor class or wrapper class in c++?

0 Answers  


What are the uses of pointers?

0 Answers  


Explain the term memory alignment?

0 Answers  


Is c++ used anymore?

0 Answers  


Why is main an int?

0 Answers  


Categories