printf(“%3s,%7.2s,%.4s%-5.3s ”, “CHINA”, “CHINA” ”, “CHINA”, “CHINA”);
举一反三
- He read in ______ paper that ______ industry is developing at a high speed. A: today; China's B: today's; China C: today's; China's D: today; China
- 以下程序段void main(){printf(“%s,%4s,%4.2s,%-4.2s\n”,”china”, ”china”, ”china”, ”china”);}运行的结果是 。(■表示空格) A: china,chin, ch,ch B: china,hina, ■■ch,ch C: china,china, ■■ch,ch D: china,china,■■ch,ch■■
- printf("%s","CHINA");输出结果是________。
- 以下程序的运行结果是void main ( ){ char str [] = I love China!; printf (%s, str); printf (%s\n, str + 7);} A: I love China!China! B: IChina! C: I love China! China! D: I China!
- printf(“%5.3s,%-5.3s,%2.3s”, “China”, “China”, “China”); 以上语句的运行结果是_______