我没有正确地使用指针,请帮助我

时间:2019-05-28 18:48:00

标签: pointers malloc

int * cloud [3],* barret [2],** tifa,i;

for(i = 0; i <3; i ++)

{

(cloud + i)=(int )malloc((i + 1)* sizeof(int));

tifa =&(barret [i%2]);

barret [i%2] = cloud [i];

barret [i%2] [0] = i;

}

*(* tifa + 1)= **云+ **发夹;

barret [1] [1] = ** barret * ** barret;

0 个答案:

没有答案