以下程序的输出结果是( )。#include void main(){ int a[3]={10,15,20}; //a[0]=10,a[1]=15,a[2]=20int *p1=a,*p2=&a[1]; // p1取a[0]地址,p2取a[1]地址*p1=*(p2-1)+5; // a[0]=15,a[1]=15,a[2]=20*(p1+1)=*p1-5; // a[0]=15,a[1]=10,a[2]=20cout<
相似题目
-
以下程序的输出结果是( )。#include #include main(){ char *p=abcde\0fghjik\0
-
以下程序的输出结果是( ) #include int main() { int num=0; while(num<=2) { num++;printf(“%d”,num); } return 0; }
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
以下程序的输出结果是( ) #include iostream.h #include string.h void main() { char *p[10]={abc,aabdfg,dcdbe,abbd,cd}; cout<
-
以下程序运行后输出的结果是________。 #include main() { int k=011; printf(%d\nk++); }
-
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
-
有以下程序#include main(){ int a=0, b=0;/* 给a赋值 a=10;b=20;给b赋值*/printf(\a+b=%d\\n\,a+b); /* 输出计算结果 */}程序运行后的输出结果是( )
-
有以下程序: include <stdio.h> void f(); } 执行后的输出结果【 】。
-
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
-
有以下程序: include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是()。
-
以下程序的输出结果是(44)。 include""void main(){ printf("%d\n",NULL);}A.不确定的值B.0C.-1
-
以下程序段的输出结果是[ ]。 include<iostream.h> void ref(int &i); void main(){int val=1
-
以下程序运行后的输出结果是【】。include<stdio.h>main(){int x=20;prinff(“%d”,0<x<2
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
以下程序的输出结果是 ______。include<iostream.h>void main() {char w[][10]={ "ABC", "DEFGH"
-
以下程序的输出结果是 。 include <iostream> include <iomanip> using namespace
-
有以下程序 include<stdio.h>include<string.h>void fun(); } 程序运行后的输出结果是
-
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
-
以下程序的输出结果是()include<stdio.h>intmain(){inta=1234;printf("%2d",a);return0;}
-
以下程序的输出结果是()。 include <stdio.h> main() {int x=10;float pi=3.1416; printf
-
有以下程序:includ<stdio.h>include<string.h>main()chaa[10]="abcd";printf("%d,%",strlen(a),sizeof(a));}程序运行后的输出结果是()
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
-
有以下程序include<stdio.h>main{inty=10;while(y--);printf(y=%d\n,y);}程序执行后的输出结果是()
-
有以下程序include<stdio.h>main{charch[]=uvwxyz,*pc;pc=ch;printf(%c\n,*(pc+5));}程序运行后的输出结果是()
-
以下程序的输出结果是()include <stdio.h> int fun(int x)
推荐题目
- 机车车辆通过()地段时,机车乘务人员应加强瞭望,呼唤应答。
- 科学家王永民研究发明了汉字输入技术(),解决了制约汉字信息化录入的速度问题,终结了汉字拼音化争论,被国内外专家评价为“其意义不亚于活字印刷术的发明”。
- 《素问•上古天真论》认为,在生长发育过程中,女子七七可有()
- 矿山工程中构造应力一般以()为主
- 基因产物检测:主要应用免疫技术对_________,如_________。
- 二次衬砌混凝土厚度检查验收时可允许个别地方厚度小于设计值。
- 从病原体侵入机体到临床症状出现这段时间称为()
- 青岛城市社会的二元结构特征导致城市建筑的二元化特征,尤以居住建筑为代表。
- 男性,18岁,半年来出现间断性黑矇、晕厥,多在活动时发作,无胸痛及夜间阵发性呼吸困难。查体:无颈静脉怒张,心界不大,心律整齐,胸骨左缘3、4肋间3/6级收缩期杂音,下蹲位减弱,肝脏不大,下肢不肿。患者的初步诊断是()。
- 如果会计核算软件中,结账日期没定为每月25日,则7月26日的凭证日期在数据库中应是()。