Pergunta de entrevista da empresa Anonymous

Reverse each word of string and make a pyramid pattern using C