#include #includemain(){ char s[]="ABCD",*p;for(p=s+1;pprintf("%s\n",p); getch();}首先少一个头文件 然后第一个p改成小写 就可以了
printf("%c\n",*p);改成这样试试。p对应的是一个字符,不是字符串。