03.06.2017, 12:35
incrementing string is out of logic (k++).That will print characters from beginning.For eg (Samp ,amp,mp,p)
If that's not what you getting then provide a proper test code to reproduce the same problem for analysing.
If that's not what you getting then provide a proper test code to reproduce the same problem for analysing.