what is an array

Answer Posted / nekkanti rajesh

an array is a collection of elements of a single data type
stored in adjacent


<data_type><variable_name>[<dimension_size>];
ex:

int arr[5];

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various situations where a copy constructor is invoked?

622


What is an iterator?

698


Why is c++ still used?

619


Why we use #include conio h in c++?

606


Explain this pointer?

593






Comment on assignment operator in c++.

732


What is recursion?

676


What will happen if a pointer is deleted twice?

730


Write about the role of c++ in the tradeoff of safety vs. Usability?

614


Who calls main function?

597


What are vectors used for in c++?

636


Describe new operator and delete operator?

640


What is the difference between a declaration and a definition?

593


What is data hiding c++?

613


Is c++ pass by reference or value?

583