how do u use an array with a dynamic memory allocation in c code example Example: how to use malloc in c int* a =(int*)malloc(sizeof(int))