单项选择题
有以下程序:
main()
int k=4,n=0;
for(;n<k;)
n++;
if(n%!=0)continue;
k--;
printf("%d\n",k,n);
程序运行后的输出结果是( )。
A.1,1
B.2,2
C.3,3
D.4,4
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序: #include <string.h> main() char p[20]='a','b','c','d',q[]= abc ,r[]= abcde ; strcat(p,r); strcpy(p+strlen(q),q); printf( %d n ,strlen(p)); 程序运行后的输出结果是( )。
A.9
B.6
C.11
D.7
点击查看答案&解析
单项选择题
按照“后进先出”原则组织数据的数据结构是( )。
A.队列
B.栈
C.双向链表
D.二叉树
点击查看答案&解析
相关试题
有以下程序: main() int a=15,b...
有以下程序: #include <stdio.h> ...
有以下程序: #include <stdio.h> m...
有以下程序: int fun(int x[],int...
有以下程序: main() char s[]= Y...