>>547
間違いではない
けど私の主観ではキモイ

int* f(int n)
{
return (int*)malloc(n * sizeof(int));
}
main()
{
int *a;
a = f(&a, 10);
}