单选题 已知int i; float f;,以下选项中正确的语句是______。
  • A.(int f)%i;
  • B.int(f)%i;
  • C.int(f%i);
  • D.(int)f%i;
【正确答案】 D
【答案解析】