#includeint main() { int a, b, c; a = 5; b = 6; c = 7; printf(" ab ctderfn"); printf("hijktLbMn"); }
强制类型的转换
#includeint main() { float f = 5.75; printf("(int)f=%d,f=%fn",(int)f,f); }
欢迎分享,转载请注明来源:内存溢出
#includeint main() { int a, b, c; a = 5; b = 6; c = 7; printf(" ab ctderfn"); printf("hijktLbMn"); }
强制类型的转换
#includeint main() { float f = 5.75; printf("(int)f=%d,f=%fn",(int)f,f); }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)