希望大家能指导一下
S.DAI 2019-01-19 02:28:27 #include<stdio.h>
#include<stdbool.h>
#include<stdlib.h>
int main()
{
char ch;
scanf("%c",&ch);
ch=(ch>='A'&&ch<='Z')?(ch+32):ch;
printf("%c\n",ch);
system("pause");
return 0;
}
这里红色的ch,我在编译的时候加上了括号导致运行时无法成长输出这是为什么啊?
能讲解一下吗?可能确实问的有点低级了但是我确实不懂。。。拜托了