Complex C declaration

后端 未结 8 1477
清歌不尽
清歌不尽 2020-11-30 18:47

I was just going through some code on the Internet and found this:

float * (*(*foo())[SIZE][SIZE])()

How do I read this declaration? Is the

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 19:11

    from http://cdecl.org/

    declare foo as function returning pointer to array SIZE of array SIZE of pointer to function returning pointer to float

提交回复
热议问题