标签:
#include <stdio.h>
int main(){ char s[] = "ABCD"; char *p;
for(p=s; p<s+4; p++) { printf("%s\n",p); }
while(1) {
}}
结果:
ABCD
BCD
CD
D
C语言中字符串
原文地址:http://www.cnblogs.com/rohens-hbg/p/4702542.html