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

10

Is This Answer Correct ?    30 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how functions are classified in C++ ?

1177


Can you explicitly call a destructor on a local variable?

976


What are vtable and vptr?

1076


Write a program which uses Command Line Arguments

1110


Describe public access specifiers?

1035


Differentiate between structure and class in c++.

1018


Why do you use the namespace feature?

1044


Explain operator overloading.

999


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2423


What is a volatile variable in c++?

1357


What is the use of bit fields in structure declaration?

922


Describe linked list using C++ with an example.

1023


What new()is different from malloc()?

1043


How a modifier is similar to mutator?

1109


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

1015