I\'m tasked to create a program which dynamically allocates memory for a structure. normally we would use
x=malloc(sizeof(int)*y);
However,
struct st* x = malloc( sizeof( struct st ));