英雄豪杰韩国综艺:[c语言]怎么把/376以整数形式输出?
来源:百度文库 编辑:高校问答 时间:2024/04/29 12:13:11
#include <stdio.h>
int main()
{
printf("%d\n",'/376');
return 0;
}
是'\376',不是'/376'
只要把输出数字定议成int不就行了吗??!!
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/04/29 12:13:11
#include <stdio.h>
int main()
{
printf("%d\n",'/376');
return 0;
}
是'\376',不是'/376'
只要把输出数字定议成int不就行了吗??!!