Category: C

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.

const char* str1

Continue reading
Open

Enjoy this blog? Please spread the word :)