Quote Originally Posted by transgalactic2 View Post
i check index<255
if its larger then its not going further.
redo the code with proper indentation; index is a local variable and everytime merge_strings() is invoked index is reset to zero due to this int res,index=0; in merge_strings().