Tag Archives: C Program Case Insensitive String Comparison

C Program Case Insensitive String Comparison

C Program Case Insensitive String Comparison USING stricmp() built-in string function /* C program to input two strings and check whether both strings are the same (equal) or not using stricmp() predefined function. stricmp() gives a case insensitive comparison. www.easycodebook.com */ #include <stdio.h> #include <string.h> int main() { char str1[100], str2[100]; printf(“Enter first string for… Read More »

Loading