int *retArray()
{
int arr[10];
return arr;
}
int *retMalloc()
{
int *mal = (int *)malloc(10);
return mal;
}
aW50ICpyZXRBcnJheSgpCnsKICAgIGludCBhcnJbMTBdOwogICAgcmV0dXJuIGFycjsKfQoKaW50ICpyZXRNYWxsb2MoKQp7CiAgICBpbnQgKm1hbCA9IChpbnQgKiltYWxsb2MoMTApOwogICAgcmV0dXJuIG1hbDsKfQ==