strcmp() C Library Function Usage with Examples

C programming standard library provides strcmp() function in order to compare two strings and return the results whether¬†they are identical or different. Syntax and Parameters As stated previously¬†strcmp() function takes two char array or string arguments. int strcmp (const char* str1, const char* str2); const char* str1 is the first string or char array which … Continue reading strcmp() C Library Function Usage with Examples