what is an array

Answers were Sorted based on User's Feedback



what is an array ..

Answer / hariharan,k

An Array is set of related data items that shares a common
name.

Is This Answer Correct ?    0 Yes 0 No

what is an array ..

Answer / chandrakanthvellanki

an array is a FIXED-SIZE sequenced collection of elements
of the same data type

Is This Answer Correct ?    0 Yes 0 No

what is an array ..

Answer / rameshwar nath show

array is nothing but an array(a set ) of constants of
similar data type .

Is This Answer Correct ?    0 Yes 0 No

what is an array ..

Answer / aboelella

-Arrays are containers holding same data type
-Represented in memory as a sequence of elements
-Accessed through index of based zero
-It eleminates the need of defining variables with the
length of the array

Is This Answer Correct ?    0 Yes 0 No

what is an array ..

Answer / saranya

array is a collection of homogeneous data that shares a
common name and stored in a sequence of memory.

Syntax:

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


ex:

int arr[5];

Where,
int is an integer datatype,
arr[5] is a variable name with size 5.

Is This Answer Correct ?    0 Yes 0 No

what is an array ..

Answer / sivasankar

array is a collection of elements

Is This Answer Correct ?    0 Yes 1 No

what is an array ..

Answer / roshan

array is a group of elements.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is encapsulation in c++ with example?

0 Answers  


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

0 Answers  


What is doubly linked list in c++?

0 Answers  


Explain the isa and hasa class relationships. How would you implement each?

0 Answers  


Is swift a good first language?

0 Answers  






when can we use copy constructor?

6 Answers   HP,


WHAT IS THE ABREVATION OF FORTRAN?

4 Answers  


what are Operators and explain with an example?

0 Answers  


Write a recursive program to calculate factorial in c++.

0 Answers  


Is c++ faster than c?

0 Answers  


what is Member Functions in Classes?

0 Answers  


How can we read/write Structures from/to data files?

0 Answers  


Categories