Hi everyone , I wrote the following code : http://www.codechef.com/viewsolution/4333425
for the problem PALIN : PALIN Problem - CodeChef
I am continuously getting the error SIGSEGV , whereas I am getting absolutely correct output on gcc.
Can anyone be kind enough to point out my mistake ?