write a program to insert an element into an array
Answer Posted / namitha
#include<iostream.h>
main()
{
int a[20];
cout<<"enter an element into the array:";
cin>>a[0];
}
| Is This Answer Correct ? | 13 Yes | 89 No |
Post New Answer View All Answers
What is an operator in c++?
What is the difference between global int and static int declaration?
Describe new operator?
Can we make copy constructor private in c++?
What is a template in c++?
How do you write a function that can reverse a linked-list?
Comment on assignment operator in c++.
Can we use this pointer in a class specific, operator-overloading function for new operator?
How does list r; differs from list r();?
What is a hashmap c++?
What is operator overloading in c++ example?
What is c++ map?
what are the iterator and generic algorithms.
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
why and when we can declar member fuction as a private in the class?