How do i read this. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do i read this.

int (*(*(*Fptr)())[20](); how can i say this. explain this.

1st Oct 2017, 5:38 PM
Bashir Ahmad
2 Answers
+ 3
1) dereference of a functionpointer to a function 2) you call the function 3) it seems the return value is a address -> you dereference it 4) you get an address again... dereference again 5) it was an array and you acces the 21th element 6) this is a function and you call it (not sure if this is even possible) but very interessting...
1st Oct 2017, 5:45 PM
Chrizzhigh
Chrizzhigh - avatar
0
nice
1st Oct 2017, 5:47 PM
Bashir Ahmad