单项选择题

以下程序的输出结果是( )。
#include <stdio.h>
main()
int k=17;
printf("%d,%o,%x\n",k,k,k);

A.17,021,0x11
B.17,17,17
C.17,0x11,021
D.17,21,11
<上一题 目录 下一题>
热门 试题

单项选择题
设有以下语句: char str[4][12]= aaa , bbbb , ccccc , dddddd ,*strp[4]; int i; for(i=0;i<4;i++) strp[i]=str[i]; 下列选项不是对字符正确引用的是(其中0≤k<4)( )。
A.strp
B.str[k][k]
C.* strp[k]
D.** strp
单项选择题
若有以下的说明和语句,则在执行for语句后,*(*(pt+1)+2)表示的数组元素是( )。 int t[3][3],*Pt[3],k; for(k=0;k<3;k++) pt[k]=&t[k][0];
A.t[2][0]
B.t[2][2]
C.t[1][2]
D.t[2][1]
相关试题
  • 有以下程序: #include <stdio.h> m...
  • 请选出以下程序的输出结果( )。 #incl...
  • 请读程序: #include <stdio.h> fun...
  • 读程序: #include <stdio.h> f(in...
  • 已知字符0的ASCII码为十六进制的30,现...