Q. A memory leak happens when (A) a program allocates memory in heap but forgets to be allocate it (B) when an un-assigned pointer is used is freed using free function (C) when realloc() is called on a pointer that is not allocated (D) A program allocates memory in stack ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) a program allocates memory in heap but forgets to be allocate it