write a program to insert an element into an array
Answer Posted / namitha
#include<iostream.h>
main()
{
int a[20];
cout<<"enter an element into the array:";
cin>>a[0];
}
| Is This Answer Correct ? | 13 Yes | 89 No |
Post New Answer View All Answers
What is the use of endl in c++?
What are the uses of c++ in the real world?
How static variables and local variablesare similar and dissimilar?
Show the declaration for a static function pointer.
Explain the difference between abstract class and interface in c++?
What is a volatile variable in c++?
What is a rooted hierarchy?
What is the first name of c++?
Difference between Abstraction and encapsulation in C++?
Show the application of a dynamic array with the help of an example.
Where can I run c++ program?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What are the four main data types?
Why is it called c++?
What is vector string in c++?