Pregunta de entrevista de Glasswall

Basic C++ questions, byte manipulation and code clean up.