#include<stdio.h> int * tain() { int x[2]={1,2}; //a=x; return x; } main() { int *a; a=tain(); printf("%d",a[1]); }