C format specifier mismatch in scanf

后端 未结 0 951
日久生厌
日久生厌 2021-01-03 00:23

I am facing difficulty to provide the reasoning behind the compiler result.

int x=524;
scanf("%c", &x);
printf("%d", x);
相关标签:
回答
  • 消灭零回复
提交回复
热议问题