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

Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1877


Are c and c++ similar?

993


When are exception objects created?

1015


What can I safely assume about the initial values of variables which are not explicitly initialized?

997


Explain the term memory alignment?

1157


What is algorithm in c++ programming?

1045


What's the best free c++ profiler for windows?

1031


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1014


What are the methods of exporting a function from a dll?

1138


What are the classes in c++?

1048


Why we use #include conio h in c++?

989


What is c++ similar to?

1132


What is c++ and its uses?

1147


How do c++ struct differs from the c++ class?

1118


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

954