菜鸟不知道的printf()小窍门
程序员文章站
2022-06-01 19:48:21
float n1 = 3.0;
double n2 = 3.0;
long n3 = 2000000000;
long n4 = 123456...
float n1 = 3.0;
double n2 = 3.0;
long n3 = 2000000000;
long n4 = 1234567890;
long n5 = 250;
long n6 = 213;
printf("%ld %ld %ld %ld %ld %ld\n",n1,n2,n3,n4,n5,n6);
n5和n6对应输出是什么?别试代码,直接看哦~!
摘自 huqinwei987的专栏
double n2 = 3.0;
long n3 = 2000000000;
long n4 = 1234567890;
long n5 = 250;
long n6 = 213;
printf("%ld %ld %ld %ld %ld %ld\n",n1,n2,n3,n4,n5,n6);
n5和n6对应输出是什么?别试代码,直接看哦~!
摘自 huqinwei987的专栏
下一篇: 数字转换成指定进制的数字字符串