0 votes 0 votes What will happen if using MALLOC ( ) we allocate entire memory from heap and we don't free it using FREE( ) ? what will happen next ? hitendra singh asked Apr 10, 2019 hitendra singh 278 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Memory leak will occur after some point of time if we only allocate memory to variables and not deallocate the allocated memory. If memory leak occurs, allocating memory further using malloc or new will not be possible. SuvasishDutta answered Apr 10, 2019 SuvasishDutta comment Share Follow See 1 comment See all 1 1 comment reply hitendra singh commented Apr 10, 2019 reply Follow Share thanks 0 votes 0 votes Please log in or register to add a comment.