标题:
关于字符单引号问题
[打印本页]
作者:
xiaojuan
时间:
2014-9-17 14:46
标题:
关于字符单引号问题
#include<stdio.h>
#define SIZE 26
int main (void)
{
char ch[26];
int i;
for (i=0; i
scanf ("%c",&ch[i]);
for (i=0; i
printf ("%c",ch[i]);
for (i=0; i
{
printf ("%c",ch[i]+'32'); //''不可以省略,这个意思是代表将ch[i]加上一定的字符数字
}
return 0;
}
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1