diff --git a/src/timequiz.h b/src/timequiz.h index 9803ee9..ca65f16 100644 --- a/src/timequiz.h +++ b/src/timequiz.h @@ -3,8 +3,8 @@ void timequiz(); int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); -void displayQuestion(char* question, char* answers[], int correctIndex); -void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers, char* answers[]); +void displayQuestion(const char* question,const char* answers[], int correctIndex); +void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers,const char* answers[]); int isValidAnswer(int userAnswer); #endif //ende TIMEQUIZ_H