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 do you mean by global variables?
How do you clear a map in c++?
How do I tokenize a string in c++?
Does c++ have a hash table?
Does there exist any other function which can be used to convert an integer or a float to a string?
Differentiate between the message and method in c++?
What is the use of 'this' pointer?
Write about the stack unwinding?
Why should we use null or zero in a program?
Explain about templates of C++.
What is vector pair in c++?
What are friend functions in C++?
Can user-defined object be declared as static data member of another class?
What is a syntax in c++?
What is c++ similar to?