#include <stdio.h>void main(){void range(int *p);int i,a[3],*p;p=a;printf("input 3 number:");for(i=0;i<3;i++)scanf("%d",&a[i]);range(a);printf("b[3]=");for(i=0;i<3;i++)printf("%d",p++);printf("\n");}void range(int *a){int i,b[3],d;for(i=0;i<2;i++){if(b[i]>b[i+1]){d=b[i+1];b[i+1]=b[i];b[i]=d;}}}