If we use single malloc for a double pointer then it simply means that the memory is allocated to the for the external Pointer i.e, malloc(**ptr) -> Memory is allocated only for external pointer of *(*ptr) which is allocated in … Continue reading →