+ 1
What does this mean?
A[1] = * (a +2);
4 odpowiedzi
+ 3
@Mohammed, it's wrong. Assigning the value a[2] to A [1]. Thanks for correcting
+ 2
Here we are having an array 'A' and pointer of same type 'a'.
Assigning 2nd element of array A(A[1]) to 3rd element of pointer 'a'(*(a+2)).
Hope you understand, but there is a chance of confusing here because of name. Let me know if you're not clear
+ 1
no problem! happens some time ;)
0
Venkatesh(Venki) are we assigning a[2]'s value to A[1] or A[1]'s value to a[2]? I think you've mistakenly wrote the opposite.