# include <stdio.h>
# include <string.h>
# include "myhead.h"
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))

int main(void){

char name[] ="jason";
name[2]=0;//'\0'

printf("name---%s",name);
return 0;
}

 

posted on 2018-11-23 09:27  Peequeue  阅读(432)  评论(0编辑  收藏  举报