单项选择题
有以下程序:
#include <stdio.h>
main( )
int a,b,d =25;
a = d/10%9;b = a&&(-1);
printf("% d,% d\n" ,a,b);
程序运行后的输出结果是( )。
A.6,1
B.2,1
C.6,0
D.2,0
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序:#include <stdio.h>#include <string.h>main( ) char a[ 7 ] = a0 0a0 0 ; int i,j; i = sizeof(
A.;
 
点击查看答案&解析
单项选择题
有以下程序:#include <stdio. h>main( ) int a[ ] = 1,2,3,4,5,6,7,8,9,0 , * p; for(p =a;p<a+10;p++) printf( %d, , *p); 程序运行后的输出结果是( )。
A.1,2,3,4,5,6,7,8,9,0,
B.2,3,4,5,6,7,8,9,10,1,
C.0,1,2,3,4,5,6,7,8,9,
D.1,1,1,1,1,1,1,1,1,1,
点击查看答案&解析
相关试题
有以下程序: #include <stdio.h> ...
有以下程序: #include <stdio.h> m...
有以下程序:#include <stdio.h>int ...
有以下程序: #include<stdio.h> voi...
有以下程序:#include <stdio.h>void...