单项选择题

有以下程序
#include <stdio.h>
main()
{ int i=5;
do
{ if(i%3==1)
if(i%5==2)
{ printf"*%d",i); break; }
i++;
} while(i!=0);
printf("\n");
}
程序的运行结果是()。

A.*7
B.*3*5
C.*5
D.*2*6

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

单项选择题
有以下程序 #include <stdio.h> mare() { int x=1,y=2,z=3; if(x>y) if(y<z) printf( %d ,++z); else printf( %d ,++y); printf( %d n ,x++); } 程序的运行结果是()。

A.331
B.41
C.2
D.1

单项选择题
有以下程序#include <stdio.h>main(){ int i,j; for(i=3;i>=-1;i-) { for(i=1;j<=2;j++) printf( %d ,i+j); printf( n ); }} 程序的运行结果是()。

A.234 345
B.432 543
C.23 34 45
D.45 34 23

相关试题
  • 有以下程序 #include <stdio.h> mai...
  • 假定已建立以下链表结构,且指针p和q已指向...
  • 有以下程序 #include <stdio.h> str...
  • 有以下程序 #include <stdio.h> #i...
  • 有以下程序 #include <stdio.h> int...