【简答题】下列程序段的输出结果是 _______ 。 void main() { printf("%d",1<4&&4<7); printf("%d",1<4&&7<4); printf("%d",(2<5)); printf("%d",!(1<3)||(2<5)); printf("%d",!(4<=6)&&(3<=7)); }
【单选题】手车式高压开关柜,当手车在试验与工作位置之间移动时,断路器操作机构处于脱扣状态,保证断路器处于( )状态,接地开关不能闭合。
【单选题】当输入2时,会输出: #include main() { int number; printf("input a number:"); scanf("%d",&number); switch( number ) { case 1: printf("January!\n"); case 2: printf("February!\n"); case 3: printf("March!\n"); cas...
B.
February!March!April!May!June!
【单选题】设哈夫曼树中有199个结点,则该哈夫曼树中有多少个叶子结点:
【简答题】阅读程序,写出运行结果 #include int main(void) { int a[] = {1,2,3,4,5}; int *p = NULL; p = a; printf("%d, ",*p); printf("%d, ",*(++p)); printf("%d, ",*++p); printf("%d, ",*(p--)); printf("%d, ",*p++); printf(...
【简答题】阅读程序,写出运行结果。 #include void main() { int a[]={1,2,3,4,5}; int *p=a; printf("%d, ",*p); printf("%d, ",*(++p)); printf("%d, ",*++p); printf("%d, ",*(p--)); printf("%d, ",*p++); printf("%d, ",*p); printf...