Compare Two String

in Hindi - Compare Two String



not yet

Source Code :

RUN#include <stdio.h>
#include <conio.h>
#include <string.h>

void main(){
    
char str1[10]="Hello";
char str2[10]="World";
  
if(strcmp(str1,str2)==0){

printf("strings are equal");
}
else{

printf("Strings are not equal");
}
getch ();
}