So I am writing a program which stores the details of a movie in a file. I have about 25 records. I need to write a function which checks the sizeof Name[] in each record, and if it is 0 , it must printf "Empty" , else it must printf "Taken".
This is the details structure of each record :
Code:typedef struct Movies { char Name[50]; char Artist[25]; char Rating [10]; } Movies;