what is an array
Answers were Sorted based on User's Feedback
Answer / abed
array i s the collection of similar data type it reduces
the unnecessary decleration of data types or variables
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / shankar
An Array is nothing but a collection of homogenous data of
fixed type.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pradeep.v.s.
Array is a collection of variables of same data type stored
in contigious memory locations....
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / swamy s t
Array is a set of elements with homogeneous(same) data
type ,that stores elements consecutivly in memory location
and access of array elements is depending on the position
of elements in the array.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sai kiran
Collection of data of similar datatypes in adjacent memory locations.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / malathi
array is a collection of homogeneous data items,that shares
a common name,this is stored in sequence memory.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saranya
an array is a collection of elements with same data type.
it can also reduce the storage space
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venu gopal raju
array is nothing but an array(a set ) of constants of
similar data type .
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
Can we use pointers in c++?
How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?
What is an associative container in c++?
What is the difference between passing by reference and passing a reference?
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.
What is pointer in c++ with example?
What is c++ runtime?
How the delete operator differs from the delete[]operator?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
Can we sort map in c++?
what are the types of Member Functions?
What is unary operator? List out the different operators involved in the unary operator.