Pergunta de entrevista da empresa EPAM Systems

Write up logic in C to determine endianness.