在10KV中性点不接地系统中发生单相接地故障时,非接地故障相的对地电压的变化是()
A.不会升高
B.大幅降低
C.升高3倍
D.升高2倍
参考答案:C
用1,2,3,4,5,6六个数字组成没有重复数字的六位数。
(1)1,3,5相邻的有多少个数?
(2)奇数数字,偶数数字相间的有多少个数?
请编写一个函数void fun(cbara [], charb [], int n),其功能是:删除一个字符申中指定下标的字符。其中,a指向原字符串,删除后的字符串存放在b所指的数组中,n中存放指定的下标。 例如,输入一个字符串world,然后输入3,则调用该函数后的结果为word。 注意:部分源程序给出如下。 请勿改动主函数main 和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。 试题程序: # include <stdio.h> # include <conio.h> # define LEN 20 void fun (char a[], char b [], int n) { } main () { char str1 [LEN], str2 [LEN]; int n ; clrscr (); 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) ; }