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
What is copy constructor? Can we make copy constructor private in c++?
Why should we use null or zero in a program?
Difference between inline functions and macros?
Explain friend class?
What do you mean by volatile and mutable keywords used in c++?
How many namespaces are there in c++?
How const int *ourpointer differs from int const *ourpointer?
Please explain the reference variable in c++?
Which function cannot be overloaded c++?
What is constant in c++ with example?
What is the full form of stl in c++?
What jobs can you get with a c++ certification?
What are the four partitions in which c++ compiler divides the ram?
Write about an iterator class?
What do you mean by delegate? Can a user retain delegates?