Re: clear the concept of 2D array and pointers
hello raj. actually when v initialize the value of &s[0] to some variable(only a pointer variable) v r passing the address of that element. but in case of arrays v dont need to put a & sign to pass the address of array element if v r passing the adress to some user-bult function. so if u cld plz clearly tell d prob u r facing i cld help u in a better way. bye
On 10/17/05, raj_abhishek007@rediffmail.com <raj_abhishek007@rediffmail.com > wrote:
hi all, i am worry abt the concept of 2D array. Let s[5][2] is a 2D
array. so what is the difference between s[0],s[1]..... and &s[0],
&s[1].... .pls help me...bye
0 Comments:
Post a Comment
<< Home