}
arb[j]='\0';
puts(arb);
return 0;
} //It is supposed to replace the first quote by `` and the next quote by '' . But , the second process is not working!! Please help me to figure it out :)
The problem is the inner loop while. It increments i until ara[i] = '\"'. Then the code skips both ifelse segments (because it executed first if segment). Outter loop ends and i is incremented again in for(int i=0; ara[i]; i++) one time too many, because it is now one index over the quote.