Advertisement



< Prev
Next >



C++ strncmp() function




The strncmp() is a string manipulation function defined in the cstring header file, which works on a string which is stored in a c-style char array and it is used to compare the first n number of characters of a string to the another string.




Signature of strncmp() function


int ( char * str1, const char * str2, size_t num )

Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement