lar3ry:
The sizeof() function will scan the string, looking for a NULL, and if there isn't one it will get the wrong answer.
Not in any C language I've ever used.
sizeof() is a language operator that works at compile time.
I think you confusing this with the strlen() function.
--- bill