list all dynamic memory allocation functions code example Example: allocate memory c ptr = (castType*)calloc(n, size);