‘\0'的单引号/输入字符串/输出单个字符

  while(targetchar[n]!='\0')


 

char givenchar[256];
int m=0;
//printf("Input given character string\n");
gets(givenchar);
while(givenchar[m]!='\0')
m++;


 

  printf("%c",a[0][j]);

posted @ 2016-09-24 13:50  cathy_mu  阅读(534)  评论(0编辑  收藏  举报