Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在调试一个 C 程序,并观察一个指向字符串的指针时,在 eclipse 的观察窗口中,值为 0x5107ba0 "\374\003xxx" 所以我认为 0x5107ba0 是指针的地址。"\003" 表示 0x03,但什么是 "\374"?一个字节最多有 255 个,所以 374 需要超过一个字节来存储。
还是“\374”表示八进制 374?
是的,它是八进制的。它是 252 或 0xfc。八进制在 8 位中的最大值为 0377。