7.printf(“%5.3s,%-5.3s,%2.3s”, “China”, “China”, “China”); 以上语句的运行结果是_______。
A: □□ina, ina□□,ina
B: □□Chi, Chi□□,Ch
C: Chi□□, □□Chi, Chi
D: □□Chi, Chi□□,Chi
A: □□ina, ina□□,ina
B: □□Chi, Chi□□,Ch
C: Chi□□, □□Chi, Chi
D: □□Chi, Chi□□,Chi
举一反三
- printf(“%5.3s,%-5.3s,%2.3s”, “China”, “China”, “China”); 以上语句的运行结果是_______。 A: □□Chi, Chi□□,Chi B: Chi□□, □□Chi, Chi C: □□ina, ina□□,ina D: □□Chi, Chi□□,Ch
- 语句printf('%3s','CHINA');的输出结果是CHI ()
- 【单选题】执行以下程序段后 printf("%s,%8s,%8.3s","china","china","china"); 输出结果为() ( 说明:□代表一个空格) A. china, □□□china, □□□□□chi B. china, □□□china, □□□china C. china, china, china D. china,china □□□, chi□□□□□
- 若有定义char a[3],b[]="China";,则执行a=b; printf("%s",a); 的输出结果是( )。 A: China B: Ch C: Chi D: 编译出错
- In terms of tai chi, which of the following is NOT true? A: Tai chi is a fist fighting of mind and qi. B: Tai chi best symbolizes Chinese people’s philosophical ideas. C: The principle of fighting in tai chi lies in offense. D: Tai chi is composed of eight hand moves and five footwork moves.