C Programming - Pointers - Discussion

Discussion Forum : Pointers - General Questions (Q.No. 6)
6.
What would be the equivalent pointer expression for referring the array element a[i][j][k][l]
((((a+i)+j)+k)+l)
*(*(*(*(a+i)+j)+k)+l)
(((a+i)+j)+k+l)
((a+i)+j+k+l)
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
70 comments Page 4 of 7.

Immanuvel said:   7 years ago
Such a wonderful explanation and I can easily understand that. Thank you @Ramanaji & @Pradeep.

Cherry said:   1 decade ago
@Rishitha
In c language , subscript is used to allocate memory location using index in array

Swati bhatt said:   1 decade ago
Thanks to both of you for your good explation, even I know this ans but not clearly.

Srivibha said:   1 decade ago
Why we are getting same value when we are printing *(a) and *(*(a))?

Raj said:   8 years ago
Pointer is the value which holds the address of another variable.

Ravitheja said:   1 decade ago
Anil Kumar Kandula.

Thank you very much. Nice eplanation.

Sumi said:   7 years ago
a[i] =*(a+i) .

I can't understand this, please explain.

Vinoth kannan said:   2 decades ago
This is an another way for writing pointer variable

Guru said:   1 decade ago
Thank you raman and pradeep.

Its nice explanation.

Sowjanya said:   8 years ago
Thanks everyone for giving the clear answers.


Post your comments here:

Your comments will be displayed after verification.