+ 1

A in c language strcmp

What key word can replace strcmp in c language ?

22nd Feb 2021, 10:15 PM
Misbah Asaal
Misbah Asaal - avatar
4 RĂ©ponses
+ 2
strcmp function is available in C: you must include string.h... #include <string.h>
22nd Feb 2021, 10:47 PM
visph
visph - avatar
+ 2
strcmp() is the only "standard" way to compare string equality.
22nd Feb 2021, 10:47 PM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar
+ 1
Misbau Saidu Adamu you can make your own to replace that.
23rd Feb 2021, 12:56 AM
Hima
Hima - avatar
0
Yes c is not python if you want to use any string function than include string module after that you can use all strings function of c language đŸ˜ƒđŸŒ»đŸ˜‡đŸ˜‡đŸ˜‡Misbau Saidu Adamu
23rd Feb 2021, 4:28 AM
Anurag Kumar
Anurag Kumar - avatar