String string1
is declared and initialized in line 8. Line 13 attempts to find "is"
in string1
using function find
. If "is"
is found, the subscript of the starting location of that string is returned. ...
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.