How to populate and print an array in a struct from a file?

后端 未结 0 1653
醉梦人生
醉梦人生 2021-01-27 07:35
struct reviewStruct {
  char reviewer[50];
  int feedback[3];
};

int readReviews(FILE *file, struct reviewStruct reviews[10]) {

  int i;
  file = fopen("reviews.t         


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