#pragma once #include typedef struct { char **general; char **major; size_t general_count; size_t major_count; } QuestionSet; /** * Load questions from file. * Returns EXIT_SUCCESS or EXIT_FAILURE. */ int load_questions(const char *filename, QuestionSet *qs); /** * Free all allocated memory in QuestionSet. */ void free_questions(QuestionSet *qs);