皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
【 10.3b 】下面程序的功能是将字符数组中存放的字符串以 多种书写形式 输出,如 “Program” , “PROGRAM” ,以及逆序输出的字符串 “margorp” 等,程序的运行结果为: Program PROGRAM margorp 按要求在下面程序的空白处填写适当的表达式或语句,使程序完整并符合题目要求。 1. #include 2. #include 3. int main(void) 4. { 5. int i = 0; 6. char b[] = "program"; 7. char *a = "PROGRAM"; 8. printf("_____\n", *a, b + 1); /* 输出 Program */ 9. while (_________________) /* 输出 PROGRAM */ 10. { 11. ___________; 12. i++; 13. } 14. printf("\n"); 15. while (_____) /* 输出 margorp */ 16. { 17. putchar (___________); 18. } 19. __________; 20. return 0; 21. }
A.
第 8 行: %c%s 第 9 行: *(a+i)=='\0' 第 11 行: putchar(*(a + i)) 第 15 行: --i 第 17 行: *b + i 第 19 行: putchar (*b + i))
B.
第 8 行: %s%s 第 9 行: ( *a+i)!='\0' 第 11 行: putchar(*a + i)) 第 15 行: i-- 第 17 行: *(b + i) 第 19 行: putchar (*(b + i))
C.
第 8 行: %c%s 第 9 行: *(a+i)!='\0' 第 11 行: putchar(*(a + i)) 第 15 行: --i 第 17 行: *(b + i) 第 19 行: putchar (*(b + i))
D.
第 8 行: %s%s 第 9 行: ( *a+i)=='\0' 第 11 行: putchar(*a + i)) 第 15 行: i-- 第 17 行: *b + i 第 19 行: putchar (*b + i)
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】The disrupted natural ecosystem has led to ______ of some species and put a lot of species in er.
【简答题】昆虫足的类型多样,蝗虫的后足为(),螳螂的前足为(),蜜蜂的后足为()。
【单选题】Researchers conducted breeding studies with two species of mice. Species A was monogamous, while Species B was not.Supporters of the competing parental interest theory hypothesized that the monogamous...
A.
When females from Species A were bred with males from Species B, the resulting offspring were extremely small.
B.
When females from Species A were bred with males from Species B, the resulting offspring were extremely large.
C.
When females from Species B were bred with males from Species A, the resulting offspring were extremely large.
D.
The offspring of Species B mice were consistently smaller than the off-spring of Species A mice.
【简答题】昆虫胸足的类型较多,其中蜜蜂的后足为(),螳螂的前足为(),蝗虫的后足为()。
【单选题】由于生活环境和生活方式的不同,昆虫的足特化成各种类型,其中 蜜蜂的后足为( ) 。
A.
跳跃足
B.
捕捉足
C.
携粉足
D.
步行足
【单选题】_ that she didn't do a good job, I don't think I am abler than her. [     ]
A.
To have said
B.
Having said
C.
To say
D.
Saying
【单选题】Evolutionary biologists believe that speciation, the formation of a new species, often begins when some kind of physical barrier arises and divides a population of a single species into separate subpo...
A.
The division of a population into subspecies.
B.
The reuniting of separated populations after they have become distinct species.
C.
The movement of a population to a new homeland.
D.
The absence of gene flow between subpopulations.
【简答题】species,strain
【单选题】There used to be a church behind the cemetery,_____________?
A.
didn ’ t there
B.
used there
C.
usedn ’ t It
D.
didn ’ t it
【单选题】There used to be a cinema here before the war, _______?
A.
usedn ' t/wasn ' t there
B.
was there
C.
used there
D.
did there
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题