Compile Error
/in/foo.c: In function 'main': /in/foo.c:6:13: error: expected identifier before '&' token scanf("%c".&ch); ^
代码
#include <stdio.h>
int main()
{
char ch;
scanf("%c".&ch);
ch=(ch>='A'&&ch<='Z')?(ch+32):ch;
printf("%c\n",ch);
return 0;
}