#include <stdio.h>
void test2(int **a)
{
*a
= (int *)malloc(sizeof(int)); **a = 10;
}
void test1(int **a)
{
test2(a);
}
void test(int **a)
{
test1(a);
}
int main(void) {
// your code goes here
int *a;
test(&a);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHRlc3QyKGludCAqKmEpCnsKCSphID0gKGludCAqKW1hbGxvYyhzaXplb2YoaW50KSk7CgkqKmEgPSAxMDsKfQoKdm9pZCB0ZXN0MShpbnQgKiphKQp7Cgl0ZXN0MihhKTsKfQoKdm9pZCB0ZXN0KGludCAqKmEpCnsKCXRlc3QxKGEpOwp9CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgKmE7Cgl0ZXN0KCZhKTsKCXByaW50ZigidmFsdWUgaXMgJWQgXG4iLCAqYSk7CglyZXR1cm4gMDsKfQo=