在双代号时标网络计划中,不能从图上直接识别的参数为()。
A.计算工期
B.总时差
C.自由时差
D.持续时间
参考答案:B
编写函数fun,其功能是:删除一个字符串中指定下标的字符。其中,a指向原字符串,删除指定字符后的字符串存放在b所指的数组中,n放指定的下标。 例如,输入一个字符串“world”,然后输入3,则调用该函数后的结果为“word”。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句。 试题程序: #include<stdlib.h> #include<stdio.h> #include<conio.h> #define LEN 20 void fun(char a[],har b[],int n) void main() char strl[LEN],str2[LEN]; int n; system("CLS"); printf("Enter the string:\n"); gets(str1); printf("Enter the position of the string deleted:"); scanf("%d",&n); fun[str1,str2,n); printf("The new string is:%s\n",str2);
单罐容积为15立方米的液化石油气罐与民用建筑的间距应为( )。
A.25m
B.30m
C.35m
D.40m