Back to Browse

97 - strcmp/strcmpi Function in C Programming | String Function in C

1.7K views
May 12, 2019
11:41

This video explains one more important function in string. 'strcmp' function is used for string comparison. It compares two strings and gives the result as following - returns positive value if 1st string is greater. - returns negative value if 2nd string is greater. - returns zero if both the strings are equal. Comparison is based on the ASCII values if characters. It compares characters at corresponding positions and gives the result. 'strcmpi' function is used for case insensitive comparison.

Download

1 formats

Video Formats

360pmp415.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

97 - strcmp/strcmpi Function in C Programming | String Function in C | NatokHD