网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

若有下面的说明语句,已知A的+进制数为65,则以下的输出结果为 union un { int a; char c[2]; }w; w.c[0]='A';w.c[1]='a'; printf("%o\n",w.a);

A.60501

B.30240

C.9765

D.以上答案均错


参考答案

更多 “ 若有下面的说明语句,已知A的+进制数为65,则以下的输出结果为 union un { int a; char c[2]; }w; w.c[0]='A';w.c[1]='a'; printf("%o\n",w.a);A.60501B.30240C.9765D.以上答案均错 ” 相关考题
考题 若有说明语句:char *g="morning",则printf("%.3s",g); 的输出结果是() A. morB. ingC. morningD. 格式不正确,没有输出值

考题 若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是( )。stmct st{char a[15];intb;double c;};printf("%d",sizeof(structSt));A.15B.8C.25D.2

考题 若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是( )。stmct st{ char a[15];int b;double c;};printf("%d",sizeof(struct st));A.15B.8C.25D.2

考题 若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是( )。 struct st { char a[15]; int b; double c; }; printf("%d",sizeof (struct st));A.15B.8C.25D.2

考题 若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是( )。 struct st { char a[15]; int b; double c; }; printf("%d",sizcof(struct st));A.15B.8C.25D.2

考题 若ch为char型变量,k为int型变量(已知字符a的ASCⅡ码是97),则执行下列语句后输出的结果为( )。A.因变量类型与格式描述符的类型不匹配,输出无定值B.输出项与格式描述符个数不符,输出为0或不定值C.62,142,k=%dD.62,142,k=%l0

考题 若有以下说明和定义,则对fun函数的正确调用语句是() int main() { int (*a)(int*),*b(),w[10],c; : : return 0; } int fun(int *c) {...}A.a=fun; a(w);B.a=fun; (*a)(c);C.b=fun; *b(w);D.fun(b);

考题 11、以下说明和语句中,已知int型数据占两个字节,则以下语句的输出结果是 struct st { char a[10]; int b; double c; }; printf("%d", sizeof(struct st));A.0B.8C.20D.2

考题 3、若有以下说明和定义,则对fun函数的正确调用语句是() int main() { int (*a)(int*),*b(),w[10],c; : : return 0; } int fun(int *c) {...}A.a=fun; a(w);B.a=fun; (*a)(c);C.b=fun; *b(w);D.fun(b);