未分类题
(10)以下程序运行后的输出结果是 【10】 。
#include <stdio.h>
main()
{ int x=10,y=20,t=0;
if(x==y)t=x;x=y;y=t;
printf('%d %d/n',x,y);
}
A.h>
main()
{
【参考答案】
(10)20 0
点击查看答案
<上一题
目录
下一题>
热门
试题
未分类题
(13)以下程序运行后的输出结果是 【13】 。#include <stdio.h>main(){ int i,n[5]={0};for(i=1;i<=4;i++){ n[i]==n[i-1]*2+1; printf('%d',n[i]); }printf(' n');}
点击查看答案
未分类题
(14)以下程序运行后的输出结果是 【14】 。#include <stdio.h>#include <stdlib.h>#include <string.h>main(){ char *p; int i;p=(char *)malloc(sizeof(char)*20);strcpy(p,'welcome');for(i=6;i>=0;i--) putchar(*(p+i));printf(' n '); free(p);}
点击查看答案
相关试题
当使用魔棒工具选择图像时,在“容差”数值...
在拼合图层时,会将暂不显示的图层全部删除...
显示与隐藏参考线快捷键是Ctrl+H()
采用该战略有可能面临哪些障碍?如何解决?
From this passage we can learn tha...