语句
printf("%d",1/3);
输出为0.33。
举一反三
- Analyze the following code: Code 1: int number = 45; bool even; if (number % 2 == 0) even = true; else even = false; Code 2: int number = 45; bool even = (number % 2 == 0); A: Code 1 has compile errors. B: Code 2 has compile errors. C: Both Code 1 and Code 2 have compile errors. D: Both Code 1 and Code 2 are correct, but Code 2 is better.
- Maplesim’s code generation can not generate ()。 A: C code B: Java code C: Html code D: MATLAB code
- In minicomputers and microcomputers, the most commonly used English alphabet and character coding is ( ). A: BCD code B: Hexadecimal C: ASCII code D: Complement code E: GB location code F: Font code G: Check code
- 目前较常用的QR Code, PDF417, Code One,Code 49, Code 16K等,是属于
- 危险货物集装箱装运时,应查阅()。 A: IMDG Code B: IMSBC Code C: IBC Code D: IGC Code