二话不说,先上代码

#include "stdio.h"
void main()
{
    char str1[]="How do you do";
    printf("%d\n",strlen(str1));
    printf("%s\n",str1+8);
}

运行结果:

012423202.png

printf("%s\n",str1+8);的意思是打印从第8位(从零开始算的)开始到结尾字符串。这个是+号的神奇使用呀