Pointers and Arrays on C related Questions and Answers


Question :   What would be the equivalent pointer expression for referring the array element a[i][j][k][l]
1. ((((a+i)+j)+k)+l)
2. *(*(*(*(a+i)+j)+k)+l)
3. (((a+i)+j)+k+l)
4. ((a+i)+j+k+l)
Answer :   2 - *(*(*(*(a+i)+j)+k)+l)  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter