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 a breakpoint?
Are iterators pointers?
What is the difference between mutex and binary semaphore?
Briefly describe a B+ tree. What is bulk loading in it?
Why is c++ a mid-level programming language?
what is multi-threading in C++?
What is c++ iterator?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
How many types of classes are there in c++?
Can you explicitly call a destructor on a local variable?
Can circle be called an ellipse?
Are php strings immutable?
What are the important differences between c++ and java?
Why was c++ created?
What do the header files usually contains?