题目内容

下列哪项不是义务教育的特征( )

A. 自主性
B. 强制性
C. 公共性
D. 基础性

查看答案
更多问题

请编写一个函数int proc(int*s,int t,int*k),用来求出数组的最大元素在数组中的下标并存放在k所指的存储单元中。 例如,输入如下整数: 876 675 896 101 999 401 980 431 451 777 则输出结果为4,999。 注意:部分源程序给出如下。 请勿改动main()函数和其他函数中的任何内容,仅在函数proc()的花括号中填入所编写的若干语句。 试题程序: #include<stdlib.h> #include<conio.h> #include<stdio.h> int proc(int*s, int t, int*k) { } void main() { int arr[10]={876, 675, 896, 101, 999, 401, 980, 431, 451, 777}, k; system("CLS"); proc(arr, 10, &k); printf("%d, %d\n", k, arr[k]); }

请补充函数proc(),该函数的功能是:只保留字符串中的大写字母,删除其他字符,结果仍保存在原来的字符串中,由全局变量m对删除后字符串的长度进行保存。 注意:部分源程序给出如下。 请勿改动main()函数和其他函数中的任何内容,仅在函数proc()的横线上填入所编写的若干表达式或语句。 试题程序: #include<stdlib.h> #include<stdlib.h> #include<conio.h> int m; void proc(char*str) { int i=0, j=0; char*p=str; while(*(p+i)) { if(*(p+i)>="A"&&*(p+i)<="Z") { ______; } ______; } str[j]="\0"; ______; } void main() { char str[80]; system("CLS"); printf("\nEnter a string: "); gets(str); printf("\n\nThe string is: %s\n", str); proc(str); printf("\n\nThe string of changing is: %s\n", str); printf("\n\nThe length of changed string is: %d\n", m); }

现代教育派的代表人物是( )

A. 卢梭
B. 杜威
C. 夸美纽斯
D. 赫尔巴特

从根本上说,一个国家或地区对教育的经费投入主要取决于( )

A. 决策者的意志
B. 生产力的发展水平
C. 教育发展规模
D. 国家对教育的重视程度

答案查题题库