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 / vineeshtkm

main()
{
int a[10],item;
cout<<"Enter Item:";
cin>>item;
a[0]=item;
}

Is This Answer Correct ?    74 Yes 189 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vector a class in c++?

1058


How would perform Pattern Matching in C++?

1246


What is null and void pointer?

1073


Can non-public members of another instance of the class be retrieved by the method of the same class?

1090


Is c++ a pure oop language?

1087


What is algorithm in c++ programming?

1134


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1965


What is virtual table?

1131


Is swift faster than go?

1108


How does atoi function work?

1159


Out of fgets() and gets() which function is safe to use?

1141


Why do we use classes in programming?

1046


What is long in c++?

1256


How would you implement a substr() function that extracts a sub string from a given string?

1064


describe private access specifiers?

1251