A doubt in a correct code

sir, what is the significance of line number 14
in the following code

first we generate the string corresponding to given integer
then we search that string (out) into the every string of searchIn[] array

found=searchIn[p].find(out);
here we find out in searchIn[]

but sir how can we assign any string into an integer

find() function returns the position of the first character of the first match
And position Is integer so it is correct

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.