write a program to insert an element into an array
Answer Posted / chandrasekhar
#include<iostream.h>
#include<conio.h>
void main()
{
int a[5];
int i;
clrscr();
cout<<"enter the elements into an array";
for(i=0;i<5;i++)
{
cin>>a[i];
}
getch();
}
| Is This Answer Correct ? | 103 Yes | 171 No |
Post New Answer View All Answers
What are structs in c++?
What is late binding c++?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
What are inline functions? What is the syntax for defining an inline function?
What is command line arguments in C++? What are its uses? Where we have to use this?
Is c++ low level?
What is function overloading c++?
Can non graphic characters be used and processed in C++?
What are the 3 levels of programming languages?
How do I run a program in notepad ++?
Do you know what is overriding?
Can we get the value of ios format flags?
What is the size of integer variable?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?