以下程序的功能是:输入3个整数,按由小到大的顺序输出。#include 'stdio.h'void main(){int i1,i2,i3; int *p1,*p2,*p3;void swap(int ,int ); ★printf('Please enter three integer:\n'); ...
下列程序的执行结果是什么?#include 'stdio.h'void sort (int *x, int *y, int *z){ int t ;if (*x>*y) {t=*x;*x=*y;*y=t;}if (*x>*z) {t=*x;*x=*z;*z=t;}if (*y>*z) {t=*y;*y=*z;*z=...
下列程序的执行结果是什么?#include 'stdio.h'void main( ){ int a,b,t;int *pa=&a,*pb=&b;printf('please input two number:');scanf('%d%d',pa,pb);t=*pa;*pa=*pb;*pb=t;printf('a=%...