sizeof(char)定义为1. sizeof(char) is defined to be 1. 我想我并没有说清楚。按照标准符合我试图 说p1 = p-1是合规的。我并不打算说结果是符合。 我猜你所说的是走在阵列前面的行为是 undefined。 - Alvin I guess I didn''t make myself clear. By standard compliant I was trying tosay p1 = p-1 was compliant. I didn''t intend on saying the result wascompliant. I guess what you are saying is the act of going in front of the array isundefined. --Alvin 这篇关于指针算术问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-25 14:24