How do I use malloc for an array of structs inside another struct that has been created using malloc

前端 未结 0 1782
囚心锁ツ
囚心锁ツ 2021-02-06 22:32

I am very new to C and would just like to know the proper way to use malloc for the following structure:

struct cell {
    struct player* owner;
    int letter;
}         


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