下面程序的运行结果为()。 include<iostream.h> void swap(int &a,int B) { int temp; temp=a++; a=b; b=temp; } void main() { int a=2,b=3; swap(a,b); cout<<a<<“,”<<b<<end1; }
相似题目
-
下面程序的运行结果是______。#include#includevoidmain(){charp1[50]=”abc”,*p2,str[50]=abc
-
下面程序段的运行结果是( )注意输出结果的格式#include void main(){char *p=”abcdefgh”;p+=3;printf(%s\n,p);}
-
下面程序的运行结果是 #include \stdio.h\ int main() { int x=-5; do { printf(\%3d\,x+=2); }while (!(x++)); return 0; }
-
06410141:下面程序的运行结果是()。#include #include int main( ){char x[80]=\AB\, y[80]=\LMNP\;int n=0;strcat(x, y);while (x[n++]!='
-
下面程序的运行结果是______。 #include < stdio.h > #include < string.h > main() { char a[7]=\abcdef\,b[4]=\ABC
-
下面程序的运行结果是include<iostream.h>void main(){int num=1;int &ref=num;ref=ref+2;c
-
下面程序的运行结果为#include<iostream.h>void main( )char a='3';switch(
-
下面程序的运行结果是()。 include<iostream.h
-
下面程序的运行结果是include"iostream.h"define sum(a,b)a*bvoid main(){int x;X=sum(1+2,3);
-
下面程序的运行结果是()。include<iostream.h> void main{int num=1:int&ref=num; ref
-
下面程序的运行结果是()。 include<iostream.h> void fun(int *a,int *B. { int x=*a
-
下面程序的运行结果为()。 include void main { char a=’3’: switch(8) { case 3:cout$amp;A.3
-
写出下面程序执行后的运行结果。 include <stdio.h> define N 2 define M N+1 define N
-
下面程序的运行结果是【】。 include<iostream> using namespace std; void fun(int&a,int b=3)
-
下面程序的运行结果为 include<iostream.h> void main() { for(int a=0,x=0;! x&&a<=10;a++) { a++; } cout<<a<<end1; }
-
下面程序的运行结果是include<iostream.h>void main(){int i=1;while(i<=8)if (i%3!=2)cont
-
下面程序的运行结果为()。 include<iostream.h> voidmain() { chara=3: switch(a) {
-
下面程序的运行结果是()。include<stdio.h>main(){int y=10; do{y--;}while(--y); printf("%d\n"
-
下面程序的运行结果是()。 include<iostream.h> int fun(int a[],int n) { int resuh=1
-
下面程序的运行结果为include<iostream,h>Void swap(int &a,int b){int temp;temp=a++;a=b;
-
下面程序段的运行结果是 include<iostream.h> void main() {char*s="abcde"; S+=2;
-
下面程序的运行结果是()。 include define MAx(a,b,c) ((a)>《b)?((a)>(c)?(a):(C)):((b)>(C)? (b)
-
给出下面程序的运行结果。include<stdio.h>intmain();return0;}
-
下面程序运行后输出的结果为: include int main(); return 0; }
-
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
推荐题目
- 设定阶段目标的表现形式有()。
- 按行业发展与经济周期变化的关系划分,行业通常被划分为()。
- 糖皮质激素治疗中的特发性血小板减少性紫癜患者,近期将实施胆囊切除术,查PLT15×109/L,下列治疗中不恰当的是()
- 综合考评成绩的排名在全省前三名的,分别按()%、()%和1%的比例对考核后的下半年基本代维费进行奖励,反之,综合考评成绩的排名倒列全省后三名的,分别按相同比例对考核后的下半年基本代维费进行扣罚。
- 矿石发生过粉碎的危害后果是什么()。
- 下列各项中,属于会计政策变更的是()。
- 人们以不诚实或故意欺诈的行为促使保险事故发生或夸大索赔金额,以便从保险中获得额外利益的风险因素是()。
- 聚维酮碘(碘伏)的浓度单位一般表示为()
- 钢材长度按定货要求切成固定长度称定尺长度。
- 结账时,应当划通栏双红线的是()。A.12月末结出全年累计发生额后B.各月末结出本年累