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 function prototypes?

0 Answers  


Explain how we implement exception handling in c++?

0 Answers  


What does the nocreate and noreplace flag ensure when they are used for opening a file?

0 Answers  


Write any small program that will compile in "C" but not in "C++"

10 Answers   Honeywell,


What is scope resolution operator in c++ with example?

0 Answers  


What is the role of copy constructor in copying of thrown objects?

0 Answers  


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????

1 Answers  


What is ostream in c++?

0 Answers  


What are the manipulators in c++?

0 Answers  


What is the limitation of cin while taking input for character array?

0 Answers  


Difference between class and structure.

0 Answers  


Categories