Hi All,
I have written the below program to find the substring in the string. in case one word coming multiple time how to handle this situation ? the below program retuning -1 as position which is wrong.
Code
Input ("abhijit" , "jit"//int position = -1;
Copyright GeekInterview.com
How to fixi it ?
Find subString in String
I have written the below program to find the substring in the string. in case one word coming multiple time how to handle this situation ? the below program retuning -1 as position which is wrong.
How to fixi it ?
Questions by yrs_abhishek
Related Answered Questions
Related Open Questions