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
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
Are c and c++ similar?
When are exception objects created?
What can I safely assume about the initial values of variables which are not explicitly initialized?
Explain the term memory alignment?
What is algorithm in c++ programming?
What's the best free c++ profiler for windows?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What are the methods of exporting a function from a dll?
What are the classes in c++?
Why we use #include conio h in c++?
What is c++ similar to?
What is c++ and its uses?
How do c++ struct differs from the c++ class?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?