> 
> **Possible Duplicate:**  
> 
> [C -> sizeof string is always 8](https://stackoverflow.com/questions/4941142/c-sizeof-string-is-always-8) 
> 
> 
> 

If I do `sizeof("HELLO");` I get 6, which is expected, however if I have:

```
void printLength(char *s) {
    sizeof(s);
}

```

When passing "Hello" to to this function `sizeof` returns 8.

Why is this?