Code analysis of a code that allocates memory using malloc until malloc returns NULL. code example Example: allocate memory c ptr = (castType*)calloc(n, size);