c跟指针 字符串 字符 字节
c和指针 字符串 字符 字节1.#include stdio.h#include string.hvoid main(){char *lineabc,efg,hij,
c和指针 字符串 字符 字节
1.
#include <stdio.h>#include <string.h>void main(){char *line="abc,efg,hij,kk";static char sep[]=",";char *token;for(token=strtok(line,sep);token!=NULL;token=strtok(NULL,sep))printf("next token is %s\n",token);}?
?
?