Originally Posted by
gaxio
What are your real goals? Anything that's included with the program can be read by anything with that program. You can't encrypt things because the program would necessarily need to include the decryption key, and there's nothing to stop anyone from just decrypting it themselves or adding a few lines of code that dumps the data after your program decrypts it. Or they could use a debugger to see that data at any time.
However, if all you're looking to do is prevent a casual observer from viewing the answers to a quiz, a simple caesar cipher will do that, and is very easy to implement. Or, even better, store the answers in a file or a char array (not a string literal, since this will make a lot of unprintable characters" that uses XOR encryption. XOR encryption is extremely easy to implement (a single line function can handle both encryption and decryption) and will produce absolute jibberish that doesn't even resemble english text.