diff --git a/src/timequiz.c b/src/timequiz.c index b22fed7..f3931e9 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -6,6 +6,8 @@ void timequiz(); +int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); + void timequiz() { printf("Welcome to our Time Quiz!\n"); @@ -52,4 +54,8 @@ void timequiz() { memset(askedQuestions, 0, sizeof(askedQuestions)); srand((unsigned int)time(NULL)); + +int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) { +} + } diff --git a/src/timequiz.h b/src/timequiz.h index 271061e..8f8989e 100644 --- a/src/timequiz.h +++ b/src/timequiz.h @@ -2,5 +2,6 @@ #define TIMEQUIZ_H void timequiz(); +int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); #endif //ende TIMEQUIZ_H