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

Which function cannot be overloaded c++?

1050


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

1070


Can you Mention some Application of C/C++?

1009


What programming language should I learn first?

1036


How do you traverse a btree in backward in-order?

979


Which one between if-else and switch is more efficient?

1012


What is the use of 'using' declaration in c++?

1091


When do we run a shell in the unix system? How will you tell which shell you are running?

917


What is data type in c++?

968


What is the basic difference between C and C++?

1100


Which sort does c++ use?

969


What are static type checking?

1010


What do c++ programmers do?

1012


Is c the same as c++?

954


How does the copy constructor differ from the assignment operator (=)?

1088