 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you the use of strCMP predefined function. This function is used for string comparison and it is declared in string.h header file. Before starting, you can note my information, you can follow or subscribe my YouTube channel through the URL youtube.com slash sanjaygupta underscore tech school. You can download my programming app Techimage which is available on Google Play. Now I am going to demonstrate you the use of strCMP in C programming. First time including two header files. First one is stdio.h and second one is string.h. Now inside main, I am declaring an array that is s1 and second character array is s2. Then integer variable i, sorry, n. Now with the help of printf, masses enter first string will be displayed on console. To receive first string, I am using GATUS. So GATUS will read all the contents provided by the user and that content will be stored inside s1. Now with the help of printf, masses enter second string will be displayed on console. Now GATUS s2. So GATUS will receive the input content and that content will be stored inside s2. Now I have to apply strCMP function. So this way I can apply strCMP function. So here you can see I have called strCMP predefined function and two strings and s1 and s2 are passed here and the result will be stored inside n variable. So strCMP will compare both the strings. If both are equal then n will receive zero. So if n is zero then I can print strings are equal else I can print strings are not equal. So this way with the help of strCMP function I have compared two strings and the result will be stored inside n variable. So here I have called strCMP for string comparison. So this way I have implemented the complete code in front of you. Now I am going to execute this code. So I am entering Sanjay and again I am entering Sanjay. You can see the output strings are equal. So both the strings are containing equal content and notice that this strCMP is case sensitive. So if I enter content like this Sanjay in capital letter and then Sanjay in small letter. So it will show strings are not equal because their cases are different upper case and lower case. So this strCMP is case sensitive. So string comparison and it is case sensitive. Now if you want to apply case insensitive comparison then you have to use another function that is strCMP I. So now I am copying these instructions and I have pasted it. So here I am using strCMP I here I represents ignore case. So this comparison will be case insensitive. So this time again I am entering Sanjay in capital letter and Sanjay in small letter. So you can see first output is strings are not equal. So this is because of strCMP and second output is strings are equal. This is because of strCMP I. So strCMP I ignore case it just check whether the content is same or not. So with this way I hope you have understood the difference between strCMP and strCMP I predefined functions which are available in string.h header file. If you want to watch more programming related videos you can follow or subscribe my youtube channel through the url youtube.com slash sanjaygupta underscore tech school. You can also download by programming app Tech Hemise which is available on google play. Thank you for watching this video.