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

What are structs in c++?

1081


What is late binding c++?

1030


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1074


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

2118


What are inline functions? What is the syntax for defining an inline function?

1212


What is command line arguments in C++? What are its uses? Where we have to use this?

1357


Is c++ low level?

1073


What is function overloading c++?

1135


Can non graphic characters be used and processed in C++?

1244


What are the 3 levels of programming languages?

1097


How do I run a program in notepad ++?

1168


Do you know what is overriding?

1295


Can we get the value of ios format flags?

1183


What is the size of integer variable?

1096


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1127