首页 > 职业考试题库1 > 题目详情
有以下程序:#includemain(){int x=8;for(;x>0;x£
题目内容:
[单选题]有以下程序:includemain(){int x=8;for(;x>0;x££){if(x%3){printf("%d,",x££);continu有以下程序: #include<stdio.h> main() { int x=8; for(;x>0;x--) { if(x%3) {printf("%d,",x--);continue;} printf("%d,",--x); } } 程序的运行结果是( )。
A.7,4,2
B.8,7,5,2
C.9,7,6,4
D.8,5,4,2
有以下程序: #include<stdio.h> main() { int x=8; for(;x>0;x--) { if(x%3) {printf("%d,",x--);continue;} printf("%d,",--x); } } 程序的运行结果是( )。
A.7,4,2
B.8,7,5,2
C.9,7,6,4
D.8,5,4,2
本题链接: