Amdocs Interview Question

Few questions regarding basic C code (palindrome)