单项选择题

有以下程序: 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
<上一题 目录 下一题>
热门 试题

单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct   { int red;    int green;    int blue;   } COLOR;      COLOR cl;
B.struct color cl   { int red;   int green;    int blue;   }
C.struct color   { int red;   int green;   int blue;   } cl;
D.struct   { int red;    int green;    int blue;   } cl;
单项选择题
下列关于C语言数据文件的叙述中正确的是( )。
A.文件由ASCII码字符序列组成,C语言只能读写文本文件
B.文件由二进制数据序列组成,C语言只能读写二进制文件
C.文件由记录序列组成,可按数据的存放形式分为二进制文件和文本文件
D.文件由数据流形式组成,可按数据的存放形式分为二进制文件和文本文件
相关试题
  • 有以下程序struct S{int n;int a[2...
  • 有以下程序#include main(){struct S...
  • 有以下程序:struct STU{ char name[...
  • 有以下程序:#include <string.h>stru...
  • 有以下程序:float f1(float n){ re...