大学生的情爱如果过早的沉溺在性生活的阶段,对我们以后的学习、社交与发展没有影响。
参考答案:错
请补充函数proc(),该函数的功能是将字符串str中的大写字母都改为对应的小写字母,其他字符不变。例如,若输入“How Are You”,则输出“how are you”。 注意:部分源程序已给出。 请勿改动主函数main和其他函数中的任何内容。 试题程序: #include<stdio.h> #include<string.h> #include<conio.h> char *proc(char str[]) int i; for(i=0; str[i]; i++) if((str[i]>=’A’)&&( (1) ) (2) ; return( (3) ); void main() char str[81]; printf("\nPlease enter a string: "); gets(str); printf("\nThe result string is: \n%s", proc(str));
------“Where was Li Ming last night ?”
------“I saw him ____ his homework in the classroom.”
A.was doing
B.did
C.doing
D.to do