What's the difference between the following two character arrays: one with a null character and one without a null character?

```
char name1[] = {'j','o','h','n'};
char name2[] = {'j','o','h','n','\0'};

```

If there is a difference between `name1` and `name2` how does `strlen` work on `name1` since it has no null character?

What would the result be for 

```
printf("%d", name1[5] == '\0'); 

```

I expected it to be 0 but got 1