if(strcmp(c,“CHEF”)==0)
{
char c[4]=“COOK”;
printf("%s",c);
printf("\n");
}
why is it not able to execute this part of the program? is there any kind of an error due to which its not able to assign the string to the character?
please help!
if(strcmp(c,“CHEF”)==0)
{
char c[4]=“COOK”;
printf("%s",c);
printf("\n");
}
why is it not able to execute this part of the program? is there any kind of an error due to which its not able to assign the string to the character?
please help!