#include <stdio.h>
#define N 100
#include"string.h"
void main()
{
int a[9]={1,2,3,4,5,6,7,8,9};
int *p=a,t,i;
int *q=a+9-1;
while(q>p)
{
t=*p;
*p=*q;
*q=t;
p++;
q--;
}
for(i=0;i<9;i++)
printf("%d",a[i]);
putchar('
');
}