我说得有道理吗?这就是我想要做的:
unsigned int *a = 0;
unsigned int **b = &a;
// b -> a -> null
*b = (unsigned int*)malloc(12);
// b -> a -> [xxxx|xxxx|xxxx]
*(*b+1) = (unsigned int)malloc(sizeof("come on!"));
// b -> a -> [xxxx|xxxx|xxxx]
// v
// [xxxxxxxxx]
strcpy((char*)*(*b+1),"come on!"); // FAILS! why?
我不确定我还能描述什么。