单项选择题

下面程序的输出结果是()。
#include<stdio.h>
main()
char *p[]="BOOL","OPK","H","SP";
int i;
for(i=3;i>=0;i-,i-)
printf("%c",*p[i]);
printf("\n");

A、 SO
B、 SP
C、 SPOPK
D、 SHOB

<上一题 目录 下一题>
热门 试题

单项选择题
下面的程序执行后,文件test.t中内容是()。 #include<stdio.h> void fun(char *fname,char *st) FILE *myf; int i; myf=fopen(fname, w ); for(i=0;i<strlen(st);i++)fputc(st[i],myf); fclose(myf); main() fun( test.t , new world );fun( test.t , hello, );

A、 hello,
B、 new worldhello
C、 new world
D、 hello,rld

单项选择题
有程序: void fun(int a,int b,int c) a=456;b=567;c=678; main( ) int x=10,y=20,z=30; fun(x,y,Z); printf( %d,%d,%d n ,z,y,x); 输出结果是 ( )
A.30,20,10
B.10,20,30
C.456,567,678
D.678,567,456
相关试题
  • 以下程序中函数huiwen的功能是检查一个字符...
  • x和y都是double型变量,x的初值为4.0,y...
  • 以下程序的运行结果为______。#defi...
  • 下列程序的功能是:求出ss所指字符串中指定...
  • 与表达式a+=b等价的另一书写形式是___...