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]
Discussion:
70 comments Page 6 of 7.
Naveen said:
1 decade ago
Thanks to all.
Hiren savalia said:
1 decade ago
Smart 1 ...
in answer we are looking for equivalent POINTER ... and in answer there is only 1 option which has POINTER symbol that is * so select it as answer .... :)
in answer we are looking for equivalent POINTER ... and in answer there is only 1 option which has POINTER symbol that is * so select it as answer .... :)
Emel said:
1 decade ago
Nice explanation guys!
Bhava said:
1 decade ago
Since the array element is asked we have to use * operations and 4 times * is because of 4 dimensional array.
Thangarasu said:
1 decade ago
Nice explanation by pradeep and ramanaji !.
Suma sahithi said:
1 decade ago
Array itself is a pointer. If we creat an array it defaultly takes address of 1st element, so to take value in that address we should place * before it. As it is a 4 dimentional array we should place * before each one.
Neeti said:
1 decade ago
I also agree with Ramanaji.
Thangavel.V said:
1 decade ago
Nice Explanation pradeep..lot of thanks ...
Riya said:
1 decade ago
Thank you Pradeep.
Deep said:
1 decade ago
Good pradeep.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers