#include <stdio.h>
#include <string.h>
int main() {
char s1[]="Tanishka";
char s2[]="Kumar";
char s3[]="Tanishka";
int i;
for(i=0;s1[i]!='\0'||s2[i]!='\0';i=i+1)
{ if (s1[i]!=s2[i])
{ printf("\nNot same");
break; }
else
{ printf("\nSame");
break;}}}
To embed this project on your website, copy the following code and paste it into your website's HTML: