What does “char (*a)[12]” mean?

后端 未结 4 1779
失恋的感觉
失恋的感觉 2021-01-06 11:39

Is this from the C standard?

4条回答
  •  星月不相逢
    2021-01-06 12:26

    If you're confused by a C declaration, you can use the cdecl program to explain it:

    ~$ cdecl
    Type `help' or `?' for help
    cdecl> explain char (*a)[12];
    declare a as pointer to array 12 of char
    

提交回复
热议问题