What does this C statement mean?

前端 未结 5 1595
无人共我
无人共我 2020-12-01 03:55

I came across this line:

void (*(*x)(void (*[10])(int *)))(int *)

Can anybody tell me what it is?

5条回答
  •  情书的邮戳
    2020-12-01 04:29

    cdecl is very helpful for this kind of thing. It says:

    declare x as pointer to function (array 10 of pointer to function (pointer to int) returning void) returning pointer to function (pointer to int) returning void

提交回复
热议问题