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

Explain stack & heap objects?

0 Answers  


What is the this pointer?

0 Answers  


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

0 Answers  


What is the protected keyword used for?

0 Answers  


Does c++ have arraylist?

0 Answers  






What is constructor and destructor in c++?

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;

2 Answers  


Give 10 points of differences between C & C++.

0 Answers   HCL,


What is an adaptor class in c++?

0 Answers  


What is size of Empty Class?

3 Answers   Persistent,


Can non graphic characters be used and processed in C++?

0 Answers   HCL,


Differentiate between a constructor and a destructor in c++.

0 Answers  


Categories