diff --git a/src/timequiz.c b/src/timequiz.c index 35f4513..b22fed7 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -47,4 +47,9 @@ void timequiz() { time_t startTime = time(NULL); time_t currentTime; int elapsedTime = 0; + int totalQuestions = sizeof(questions) / sizeof(questions[0]); + int askedQuestions[40]; + + memset(askedQuestions, 0, sizeof(askedQuestions)); + srand((unsigned int)time(NULL)); }