The strncmp() function (case-sensitive) used for compares two strings.
Syntax
strncmp (string1,string2,length)
Example
echo strncmp("Hello Dear!","Hello Dear!",3);
Output
0
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.