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

write a program to insert an element into an array

Answer Posted / chandrasekhar

#include<iostream.h>
#include<conio.h>
void main()
{
int a[5];
int i;
clrscr();
cout<<"enter the elements into an array";
for(i=0;i<5;i++)
{
cin>>a[i];
}
getch();
}

Is This Answer Correct ?    103 Yes 171 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concept of memory leak?

1099


What is vector string in c++?

1077


What is this weird colon-member (" : ") syntax in the constructor?

1023


Can char be a number c++?

1040


What is a stack? How it can be implemented?

1164


Why do we use pointers in c++?

1019


What is a friend function in c++?

1619


What is ctime c++?

1121


Explain register storage specifier.

1017


What are the advantages of using typedef in a program?

1138


What things would you remember while making an interface?

998


Explain unexpected() function?

1096


What does asterisk mean in c++?

1111


Define a conversion constructor?

1076


When do we use copy constructors?

1079