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 = (struct st *)malloc(sizeof(struct st));