网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下面程序的运行结果是()。x=5:y=3PRINTx=yEND

A、0

B、5

C、3

D、–1


参考答案

更多 “ 下面程序的运行结果是()。x=5:y=3PRINTx=yENDA、0B、5C、3D、–1 ” 相关考题
考题 下面程序的运行结果是includevoid fun(int * a,int * b){ int x= * a; * a = * b;* 下面程序的运行结果是 #include<iostream.h> void fun(int * a,int * b) { int x= * a; * a = * b; * b=x; cout <<*a<< *b<<""; } void main( 0 { int x =1,y =2; fun(x,y); cout<< x << y <<end1; }A.12 12B.12 21C.21 12D.21 21

考题 下面程序的运行结果是 include void fun(int * a,int * b) { int x= * a; * a= * 下面程序的运行结果是#include<iostream.h>void fun(int * a,int * b){int x= * a;* a= * b; * b=X;cout < < * a < < * b < <" ";}void main( ){int x=1,y=2;fun(x,y) ;cout < < X < < y < < endl;}A.12 12B.12 21C.21 12D.21 21

考题 下面程序的运行结果是______。 include void fun(int a,int b=3) { static int 下面程序的运行结果是______。include<iostream.h>void fun(int a,int b=3){static int i=2;a=a+b+i;i=i+a;}void main(){int x=5,y=2;fun(x,y);cout<<x<<",";fun(x);cout<<x<<endl;}

考题 下面程序的运行结果是()。includeclass Sample{int x, y;public:Sample() { x=y=0; 下面程序的运行结果是( )。#include<iostream.h>class Sample{int x, y;public:Sample() { x=y=0; }Sample(int a, int b) { x=a; y=b; }void (lisp(){cout<<"x="<<x<<",y="<<y<<end1;}};void main(){Sample s(2,3), *p=s;p->disp();}A.x=1, y=2B.x=2, y=4C.x=2, y=3D.x=4, y=3

考题 下面程序的运行结果是( )。 y=5;x=14;y=((x=3*y,x+6),x-1); printf("x=%d,y=%d”,x,y);A.x=27,y=27B.x=12,y=13C.x=15,y=14D.x=y=27

考题 下面程序的运行结果是【】。 include using namespace std; void fun(inta,int b=3) 下面程序的运行结果是【 】。include <iostream>using namespace std;void fun(int a, int b=3){static int i=2;a = a + b + i;i = i + a;}int main(){int x=5, y=2;fun(x, y);cout<<x<<",";fun(x);cout<<x<<end1;return 0;}

考题 下面程序的运行结果是includevoid fun(int*a,int*b){int X= *a;* a= *b;*b=X;cout 下面程序的运行结果是 #include<iostream,h> void fun(int*a,int*b) { int X= *a; * a= *b; *b=X; cout<< *a<< *b<<" "; void main() int x=1, y=2; fun(x,y); cout<<X<<y<<end1; }A.12 12B.12 21C.21 12D.21 11

考题 (33)有如下事件程序,运行该程序后输出结果是Private Sub Command33_Click()Dim x As Integer,y As Integerx=1:y=0Do Until y=25y=y+x*xx=x+1LoopMsgBox "x="x",y="yEnd SubA)x=1,y=0B) x=4,y=25C)x=5,y=30D)输出其他结果

考题 若x=4,y=5,则xy的结果是( )。A)0B)4C)3D)5