What do you mean by an array ? explain with an example

Answers were Sorted based on User's Feedback



What do you mean by an array ? explain with an example..

Answer / sai

array is collection of similar type of elements and stores
in continues memory location.

Is This Answer Correct ?    100 Yes 12 No

What do you mean by an array ? explain with an example..

Answer / shanu zabeen

Array is a collection of elements of similar data type and
these elements are stored in continuous memory locations.
int a[5] in c
creates an array of size 5 in continuos memory locations
whose indices will be 0,1,2,3,4.
in java A array in Java is like a fixed number of slots,
each slot holds a item, and all of them the same type.
int[] A;//array declaration in java
A=new int[10]; // 10 is the number of items
// now A is declared, and have assigned a value (initialized).

Is This Answer Correct ?    67 Yes 6 No

What do you mean by an array ? explain with an example..

Answer / sonerao

array is a collection of similar data type & allocate
memory in to continue

Is This Answer Correct ?    52 Yes 7 No

What do you mean by an array ? explain with an example..

Answer / enamul

Answer
# 3 Array is a collection of elements of similar data
type and
these elements are stored in continuous memory locations.
int a[5] in c

Is This Answer Correct ?    18 Yes 9 No

What do you mean by an array ? explain with an example..

Answer / ramyathillainathan

An array is a fixed size sequenced collection of elements of the same data type. An array is  defined as group of   related data that share on common name.
for example:
  salary [10]
represent the salary of 10 th employee .

Is This Answer Correct ?    8 Yes 0 No

What do you mean by an array ? explain with an example..

Answer / leena vishwakarma

Array is a group of data elements having same data types under a common variable name....

Syntax:- Data type variable name[size];
Exa:- int a[10]....
Breket me di gayi number array Ki size batata or computer utne hi elements ke liye space reserve karta h....

Is This Answer Correct ?    0 Yes 0 No

What do you mean by an array ? explain with an example..

Answer / piyush

An array is a data structure usef to store collections of similar values under a given name.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Programming Languages AllOther Interview Questions

Suppose server object is not loaded into the memory, and the client request for it , what will happen?

0 Answers  


write a sql qwery which include joining of two tables 4 marks mainframe

0 Answers  


what are the activities you enjoy most and How do you see these Developing in the Future with Reference to in your work life and in your personal life

0 Answers  


A string of charaters were given. Find the highest occurance of a character and display that character. eg.: INPUT: AEGBCNAVNEETGUPTAEDAGPE

7 Answers   Nagarro,


WAP to print all prime nos between 1 to 100 without using user input...pls reply within few hours...

1 Answers  


which of the following is efficient in terms of space a. insertion sort b. quick sort c. selection d. both a and c

1 Answers   Hughes,


what is polymorphism in java.

3 Answers   Atos Origin,


what is the difference between an application and service??? i mean service which runs as in services.msc.

2 Answers  


please any one pass file aid,xpeditor and endeavor tools

0 Answers  


iam confused among testing ,.net and java. can anybody help me.

0 Answers  


What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?

0 Answers  


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

0 Answers   Amazon,


Categories