Allocating memory for a Structure in C

后端 未结 7 1485
清酒与你
清酒与你 2020-12-12 17:10

I\'m tasked to create a program which dynamically allocates memory for a structure. normally we would use

x=malloc(sizeof(int)*y);

However,

7条回答
提交回复
热议问题