#include <stdio.h>
int *Function(int x);
void main()
{
int x = 0, i = 0;
printf("please intput a number:\n");
scanf("%d",&x);
for(i=0;i<3;i++)
{
printf(" %d",*(Function(x)+i));
}
}
int *Function(int x)
{
int arry[3] = {0};
arry[2] = x / 100;arry[1] = ( x / 10 ) % 10; arry[0] = x % 10;
return arry;
}