while(str[i]!='\0')
{
if(str[i]!=str1[i])
{
printf("not equal");
return 1;
}
i++;
}
printf ("equal");
return 0;
What happens here if we use return 1. Will return 1 terminate the if condition or the whole loop?