下面程序的运行结果为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 < < endl;}
相似题目
-
下面程序的运行结果为include<iostream.h>class A{int num;public:A(int) {num=i;}A(A & a) {hum=a. num++;}void print() {cout < < num;}};void main(){A a(1) ,b(a) ;a. print() ;b. print() ;}
-
下面程序的运行结果是include<iostream.h>void main(){int num=1;int &ref=num;ref=ref+2;c
-
下列程序的运行结果为()。include<iostream.h>void main(){int a=2;int b=a+1;cout<<a/b<<endl;}
-
下列程序的运行结果为 include<iostream.h>void print(double a){cout<<++a;} void print(int a
-
下面程序的运行结果为#include<iostream.h>void main( )char a='3';switch(
-
下面程序的运行结果是()。 include<iostream.h
-
下面程序的运行结果为()。 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"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<iostream.h>void main(){int a=2;int b=a+1;cout < < a/b < < endl;}
-
下列程序的运行结果为include < iostream.h >void main(){ int a=2; int b=a+l; cout < < a/b
-
下面程序的结果为()。include<iostream.h>void change(int a,int b){int temp;temp=a;a=b;b=temp
-
运行程序,程序输出结果是(). include <iostream> using namespace std; int main() { ch
-
下面程序的运行结果是【】。 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<iostream.h> void main { int a=2: int b=a+1: co
-
下面程序的运行结果是()。 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(){int num=1;int &ref=num;ref=ref+2;cout < < num;num=num+3;cout < < ref < <endl;}
-
下列程序的运行结果为include<iostream.h>int i=0;class A{public: A(){i++;}};void main(){
-
下面程序段的运行结果是 include<iostream.h> void main() {char*s="abcde"; S+=2;
推荐题目
- 点检是把问题解决在最佳时期的动态管理中。
- 前厅管理的内容不包括()。
- 甲基硅油的加入量很小,使用前须用()的煤油稀释。
- 女孩,5岁。1994年7月入院,诉发热5d,头痛,呕吐每天2~3次,精神萎。入院1d来抽搐2次,每次持续3~5min,入院时体温39.5℃,嗜睡状。脑脊液检查微混,细胞数720×106/L,中性粒细胞0.18,淋巴细胞0.82,蛋白0.84g/L,糖及氯化物正常。诊断为流行性乙型脑炎。根据病程,患儿应为乙型脑炎的哪一期()
- 修改后的《刑事诉讼法》规定,被判处拘役的犯罪分子,在执行期间,每月可以回家一天至两天。
- 注油室抱闸气压表的压力标准范围是()PSI。
- 以下不属于“未病先防”的做法是( )
- 封闭式基金的基金份额是不固定的,在封闭期限内可经法定程序认可而增减。 ()
- 在Flash动画中,"遮罩"的用途()
- 部门的组织架构是基于()进行编写