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...
'Language > C&C++' 카테고리의 다른 글
[C/C++] Getting return address… (0) | 2010.11.03 |
---|---|
[Linux][C/C++] Understanding Signals – User Signal Handler (0) | 2010.10.29 |
[C/C++] Function pointer. (0) | 2010.05.24 |
[C/C++] Memory(Heap) alloc/free interface for the library. (0) | 2010.04.20 |
[C/C++] Mimicking Signal and Slot (0) | 2010.04.08 |