Pergunta de entrevista da empresa InfinityLabs R&D

Write in C a code that calculates exponent without using multiply or exponent.