Language/C&C++

[C/C++] type of hard-coded-string.

yhcting 2010. 9. 16. 16:26

Here is example.

sizeof("12345") == 6

What this meas? Type of hard-coded-string (like "12345") is char[].
It's important and interesting! I haven't known this for several years! Hmm...