Amdocs interview question

Few questions regarding basic C code (palindrome)