0

string strpbrk() function

https://code.sololearn.com/cA13a74A12A1 I am trying to show the letters of string1 that match with string2 as output but it's not working properly. 8.18 Write and test the strpbrk() function.

29th Apr 2021, 1:51 PM
Ramisa Fariha
Ramisa Fariha - avatar
3 Answers
+ 1
@Martin thank you .I knew that I was getting it wrong. Some of the definitions of these string functions are pretty close to each other like strspn,strcspn etc.
29th Apr 2021, 5:00 PM
Ramisa Fariha
Ramisa Fariha - avatar
+ 1
@Martin I've understood this better now
29th Apr 2021, 5:28 PM
Ramisa Fariha
Ramisa Fariha - avatar
+ 1
@Martin I am feeling the same way about myself as you are...But time is really short for me now as exam is near..still I take a break while doing all this like spending time with family and friends.
29th Apr 2021, 7:08 PM
Ramisa Fariha
Ramisa Fariha - avatar