以下程序正确的是
A: include stdio.h{ printf(A\n);}
B: void main(){ printf(A\n);}
C: includestdio.hvoid main(){ printf(A\n);}
D: includestdio.hvoid min(){ printf(A\n);}
A: include stdio.h{ printf(A\n);}
B: void main(){ printf(A\n);}
C: includestdio.hvoid main(){ printf(A\n);}
D: includestdio.hvoid min(){ printf(A\n);}
举一反三
- 1.以下程序正确的是( )。 A: include stdio.h{ printf(A\n);} B: void main(){ printf(A\n);} C: includestdio.hvoid main(){ printf(A\n);} D: ...
- 以下程序正确的是_____ A: B: include<;stdio.h>;int gNum;gNum=13;void main(){printf("%d\n", gNum);} C: D: include<;stdio.h>;void main(){int rob=17;printf("rob=%d\n", rop);}int rop=71; E: F: include<;stdio.h>;void main(){extern int outer;printf("outer=%d\n", outer);}int outer=33; G: H: include<;stdio.h>;void main(){extern int outer=33;printf("outer=%d\n", outer);}int outer=33;
- 编写程序,用“*”输出字母C。 答案: #include void main() { printf("* * * *\n"); printf("*\n"); printf("*\n"); printf("*\n"); printf("* * * *\n");
- Which of the following program is right? A: include <stdio.h> int main(); { /*programming*/ printf("programming!\n"); return 0; } B: include <stdio.h> int main() { /*programming*/ printf("programming!\n"); return 0; } C: include <stdio.h> void main() { /*programming*/ printf("programming!\n") return 0; } D: include <stdio.h> int mian() { /*programming*/ printf("programming!\n"); return 0; }
- 执行以下程序输出结果是_______.#include <;stdio.h>;void main( ){ int n=9; if(n++ <; 10) printf("%d\n", n); else printf("%d\n", n--);} A: 11 B: 10 C: 9 D: 8