C语言程序段输出结果分析:3.500000
#include <stdio.h>
int main( ) { int k=10; float a=3.5, b=6.7, c; c=a+k%3*(int)(a+b)%2/4; printf('%f ', c); return 0; }
程序段的输出结果是3.500000。
原文地址: https://www.cveoy.top/t/topic/ezfZ 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
#include <stdio.h>
int main( ) { int k=10; float a=3.5, b=6.7, c; c=a+k%3*(int)(a+b)%2/4; printf('%f ', c); return 0; }
程序段的输出结果是3.500000。
原文地址: https://www.cveoy.top/t/topic/ezfZ 著作权归作者所有。请勿转载和采集!