problems
By waisalemi
@waisalemi (2)
India
7 responses
@dholey (1383)
• India
12 Oct 07
array is group of homogeneous variables sharing common name ans having unique element numbers (element number always begins with 0)
ARRAY NAME STANDS FOR THE BASE ADDRESS OF THAT ARRAY .i.e when ony array name is written without element numbers then the address of the 0th element of that array is return
what i mean is
&ar[0] is same as ar!!!!
when we use array name along with element number then it is taken as name of individual variable of that array
ex:
void main()
{
int ar[5],i;
for(i=0;i
@ramchu1986 (98)
• India
17 Oct 06
arrays are like normal variables...u can use them like u use normal variables...the only difference is that whenever u use arrays, u hav to use loops...
@mythmoh (3984)
• United States
17 Oct 06
Array are the collection of homogeneous dat item.It is used to save space and unwanted confusion about having lot of variables..For example 100 students marks.You can just denote it as mark[100] and it may be of integer or real data type.arrays can have all the basic data types.There are two dimensional and multidimensional arrays.