Hello!
i have the following data in a file
student_id student_name maths_score english_score physics_score
can i use a nested structure to read the file?
if yes, how will i read the file into the structure?help me please
i have the following data in a file
student_id student_name maths_score english_score physics_score
can i use a nested structure to read the file?
Code:
struct student { int id; char name[40]; }; struct score { int maths; int english; int physics; };
Comment