#include <stdio.h> int main() { char str[]={"hehe"}; for(char* pstr = str; pstr < str+5 ; pstr++) { printf("%c",*pstr); } }
收起
因为环境不一样
报告相同问题?