No output displaying

no output displaying even after compiling

Hi @akshatkaush

I have made some minor changes. You will be able to figure them out.
Link : https://ide.codingblocks.com/s/212004

Hope it Helps.

you changed k+2 to j. ya it’s correct now and would work for inputs with greater than 2 digits, but for the already used test case which is of two digits only, k+2 should be working here. or is there any other change also?

Also, there is no need to writ out[j] = β€˜\0’ as in the array named searchin you are taking names as strings and strings in string datatype do not end with a null character.

Hope it Helps.

ok, got it, thank you!!

Cheers. Please mark the doubt as resolved if your query is answered.