下面程序运行的结果为() include <stdio.h> int *fun(int *px, int *py); int *fun(int *px, int *py) { return (*px > *py? px : py); } void main() { int a=5,b=8; int *p1=fun(&a,&b),*p2=fun(&b,&a); printf("%d-%d\n", *p1 , *p2 ); }
相似题目
-
下面程序的运行结果是______。#include#includevoidmain(){charp1[50]=”abc”,*p2,str[50]=abc
-
下面程序段的运行结果是( )注意输出结果的格式#include void main(){char *p=”abcdefgh”;p+=3;printf(%s\n,p);}
-
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( )char a='3';switch(
-
下面程序的运行结果是()。 include<iostream.h
-
下面程序的运行结果是()。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<stdi0.h> voidmain() {char*a[]={"abcd","ef","gh","ijk");inti; for(i=0;i<4;i++)printf("%C",*a[i]); } 程序运行后的输出结果是()。
-
下面程序的运行结果为()。 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<stdi0.h> funl(chara,charb){charC;c=a;a=b;b=C;) f
-
下面程序的运行结果为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<stdio.h>intmain();return0;}
-
include<stdi.h>main() {intx,y; fr(y=1,x=1;y<=20:y++) {if(x>=8)break; if(x%2==1){x+=5;cntinue;} x-=3; } printf("x=%d,y=%d\n",x,y); } [运行结果]
-
下面程序运行后输出的结果为: include int main(); return 0; }
-
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
-
有以下程序: include<stdi0.h> ()
推荐题目
- 下列关于美国国会的叙述,不正确的是()
- 在进行影视剧本改编过程中,要考虑()。
- 有关镜下血尿,正确的描述是()
- 汽油机每运转4h后,应补充清洁机油,使油平面保持在机油标尺的上下刻线之间为宜。
- 1922年魏玛共和国第一任帝国总理将“德意志之歌”升格为国歌,国歌的曲作者是?()
- 烟草专卖行政主管部门及其工作人员违法行为的构成要件最主要的不同表现在主观要件。
- 下列关于汇票专用章说法正确的是()。
- 硫酸铝溶解于水生成
- 防止生活污水污染的换证检验对证书和其他记录的内容有()
- 网络食品交易第三方平台提供者应当对入网食品经营者进行(),明确其食品安全管理责任;依法应当取得许可证的,还应当审查其许可证。(第六十二条)