**The dynamically allocated functions malloc,calloc,realloc in the stdlib library returns the void pointer
I want to convert the void pointer retuned to an array pointer is it possible to do so **
void* x=malloc(6*sizeof(int));
int (*ptr)[3];
Can we typecast x and assign it to ptr ?
ptr = x;should be fine.