Why my char array inside my struct is null even allocating the struct?

前端 未结 0 1589
抹茶落季
抹茶落季 2020-12-08 08:05

I\'ve the following struct:

struct scp_header {
    char state_name[NAME_MAXSIZE];
    enum scp_packet_type type;
    size_t payload_size;
    size_t script_s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题