How to do this with char arrays in c++?

I have to input a char array and then compare the value with the answers, now I have like 30 questions and I dont want to have 30 char arrays for answers, is there any other way to do this?
A single array of strings.
A map.
Topic archived. No new replies allowed.