what is an array
Answers were Sorted based on User's Feedback
Answer / hariharan,k
An Array is set of related data items that shares a common
name.
Is This Answer Correct ? | 0 Yes | 0 No |
an array is a FIXED-SIZE sequenced collection of elements
of the same data type
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
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 encapsulation in c++ with example?
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
What is doubly linked list in c++?
Explain the isa and hasa class relationships. How would you implement each?
Is swift a good first language?
when can we use copy constructor?
WHAT IS THE ABREVATION OF FORTRAN?
what are Operators and explain with an example?
Write a recursive program to calculate factorial in c++.
Is c++ faster than c?
what is Member Functions in Classes?
How can we read/write Structures from/to data files?