What happens when dereferencing a pointer to a struct in C?

后端 未结 0 719
旧巷少年郎
旧巷少年郎 2020-12-06 04:49

Say I\'m using 2 structs in C like:

struct department {
    char name[10];
    int floor;
}

struct person {
    char name[10];
    struct department *dep;
};         


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