已知”int i; float f;“,正确的语句是_____。
A. int(f)%2.0;
B. int(f)%i;
C. int(f%i);
D. (int)f%i;
查看答案
设有以下变量定义,并已赋确定的值:char c; int i; double d;则表达式 c+i+f/d 值的数据类型为_____。
A. char
B. int
C. float
D. double
已知”int i,a;“,执行语句”i=(a=6,a*5),a+6;“后,变量 i 的值是______。
A. 6
B. 12
C. 30
D. 36
下列程序的输出结果是_____。#include void main(){float d=2.2; int x,y;x=6.2;y=(x+3.8)/5.0;printf("%d\n",d*y);}
A. 4
B. 4.4
C. 2
D. 0
Which of these is added to the food label because people sometimes don't eat ENOUGH of this?
A. fat
B. calcium
C. sodium
D. cholesterol