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

Q2. A memory location has physical address D5687h. Compute: a. The offset address if the segment number is D445h. b. The segment number if the offset address is B577h.

0 Answers  


shall we execute our java programmes in jre

0 Answers  


they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?

0 Answers   TCS,


what will be the model paper for the post of assistant programmer in delhi high court

2 Answers  


how many types of bytes are there???

0 Answers  






In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

0 Answers  


what is meaning of MDM in sap?let me know that meaning

0 Answers  


Difference between delegates and Events?

0 Answers  


Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?

0 Answers   Amazon,


how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?

0 Answers  


what is the difference between primary key and unique key?

2 Answers   KTree, TCS,


what is runtime exception and compiletime exception ?

1 Answers   Accenture,


Categories