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 / gokul balaji

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

Is This Answer Correct ?    15 Yes 66 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a breakpoint?

1071


Are iterators pointers?

1203


What is the difference between mutex and binary semaphore?

1288


Briefly describe a B+ tree. What is bulk loading in it?

1394


Why is c++ a mid-level programming language?

1081


what is multi-threading in C++?

1108


What is c++ iterator?

1213


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

1135


How many types of classes are there in c++?

1081


Can you explicitly call a destructor on a local variable?

1067


Can circle be called an ellipse?

1136


Are php strings immutable?

1104


What are the important differences between c++ and java?

1196


Why was c++ created?

1077


What do the header files usually contains?

1114