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...


can output 5 students using one dimensional array



can output 5 students using one dimensional array..

Answer / hari haran

#include<iostream.h>
void main()
{
int a[5];
for(int i=0;i<n;i++)
{
cin>>a[i];
}
for(int i=0;i<n;i++)
{
cout<<"
"<<a[i];
}
}

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are the two types of comments?

0 Answers  


Comment on assignment operator in c++.

0 Answers  


Define virtual constructor.

0 Answers  


What is meant by the term name mangling in c++?

0 Answers  


What is a flag in c++?

0 Answers  


which of the following is not an secondary constant a) array b) real c) union

0 Answers  


What is the difference between structures and unions?

0 Answers  


Differentiate between realloc() and free().

0 Answers  


What is optimization in c++? when using volatile.optimization is not possible..what does this mean?

1 Answers  


Is rust better than c++?

0 Answers  


How is static data member similar to a global variable?

0 Answers  


Explain about templates of C++.

0 Answers  


Categories