@ -72,4 +72,8 @@ int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) {
}
void displayQuestion(char* question, char* answers[], int correctIndex) {
printf("\nQuestion: %s\n", question);
for (int i = 0; i < 4; i++) {
printf("%d. %s\n", i + 1, answers[i]);