Amdocs interview question

Write the C program to reverse the words in a string, decimal to binary conversion.