i am working on the following program. but its not giving me the correct output for string "nameiskhan" and substring as"name". i know this might be a duplicate question but i couldn't find the desired answer in those questions.i am working on the following program. but its