char str[100]; int i = 0; i = 3; memset(str + i + 1, 0, 100 - i - 1) //是否越界 memset(str + i + 2, 0, 100 - i -2) //是否越界? 问题点数:0、回复次数:1Top