Please tell me what I am doing wrong

```
//I'm trying to get the number of the month by sending its name.
#include <stdio.h>

```

My function

```
int monthstr2num (char month[]){                                                

if (month == "September")
    return 8;

}

int main (){
char month []={"September"};
int num;

num = monthstr2num (month);//func call

```

displays a wrong output like 37814040 

```
printf ("%d", num);

return 0;
}

```