sizeof
www.zhaoch.top > 编程 > c_cpp
sizeof
### 字符串长度计算
sizeof("123456") // 包含'\0'的长度7
char *str = "str"
sizeof(str) // char* 的长度 4或8(64位)
struct 对齐
// TODO
The End
- My github location
- View Source of this website GhostZch.github.io
- Commit issues to discuss with me and others