#include <stdio.h>
#include <stdlib.h>
#define SIZE 10
int **func(int **res)
{
// 適当な処理
return res;
}
int main(int argc, char const *argv[])
{
int *res[2];
func(res);
printf("%d %d\n", *res
[0], *res
[1]); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2RlZmluZSBTSVpFIDEwCgppbnQgKipmdW5jKGludCAqKnJlcykKewogIHJlc1swXSA9IChpbnQgKiltYWxsb2MoU0laRSk7CiAgcmVzWzFdID0gKGludCAqKW1hbGxvYyhTSVpFKTsKICAvLyDpganlvZPjgarlh6bnkIYKICByZXR1cm4gcmVzOwp9CgppbnQgbWFpbihpbnQgYXJnYywgY2hhciBjb25zdCAqYXJndltdKQp7CiAgaW50ICpyZXNbMl07CiAgZnVuYyhyZXMpOwogIHByaW50ZigiJWQgJWRcbiIsICpyZXNbMF0sICpyZXNbMV0pOwogIHJldHVybiAwOwp9