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

Is c++ a high level language?

0 Answers  


Which compiler does turbo c++ use?

0 Answers  


What is the difference between *p++ and (*p)++ ?

0 Answers  


What is the difference between a baller and a reference in C++?

0 Answers  


How is objective c different from c++?

0 Answers  


What is RAII (Resource Acquisition Is Initialization)?

1 Answers  


How much maximum can you allocate in a single call to malloc()?

0 Answers  


What is the use of register keyword with the variables?

0 Answers  


What are enumerations?

0 Answers  


What is the function of I/O library in C++ ?

0 Answers   HCL,


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

0 Answers  


What are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


Categories