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 |
Explain stack & heap objects?
What is the this pointer?
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?
What is the protected keyword used for?
Does c++ have arraylist?
What is constructor and destructor in c++?
Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;
Give 10 points of differences between C & C++.
What is an adaptor class in c++?
What is size of Empty Class?
Can non graphic characters be used and processed in C++?
Differentiate between a constructor and a destructor in c++.