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 do you mean by global variables?

1076


How do you clear a map in c++?

1127


How do I tokenize a string in c++?

1101


Does c++ have a hash table?

998


Does there exist any other function which can be used to convert an integer or a float to a string?

1083


Differentiate between the message and method in c++?

1075


What is the use of 'this' pointer?

1252


Write about the stack unwinding?

1062


Why should we use null or zero in a program?

1044


Explain about templates of C++.

1156


What is vector pair in c++?

1230


What are friend functions in C++?

1066


Can user-defined object be declared as static data member of another class?

1025


What is a syntax in c++?

1163


What is c++ similar to?

1188