Can anyone tell me the error of this program

This program does not work if else condition. When this partition is activated the other partition does not work. Can someone please help me solve these problems?

int main()
{
    char gender[50] = "boy";

    printf("What is your gender :");
    scanf("%s",&gender);

    if(gender == gender)
    {
        printf("You are boy\n");
    }
    else
    {
        printf("You are girl\n");
    }

    return 0;
}
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum