how to code for strcmp | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to code for strcmp

I know that strcmp is included in the library, I’m just curious how it is coded

13th May 2019, 4:51 PM
CHENSHU LIU
CHENSHU LIU - avatar
1 Answer
+ 1
comparing each string character by character, if you see any differences then they are not equal, if they is no difference they are equal
13th May 2019, 4:56 PM
✳AsterisK✳
✳AsterisK✳ - avatar