Function pointer as a member of a C struct

后端 未结 5 1204
南笙
南笙 2020-12-02 07:08

I have a struct as follows, with a pointer to a function called \"length\" that will return the length of the chars member.

typedef struct pstring_t {
    ch         


        
5条回答
提交回复
热议问题