0 votes 0 votes Something wrong with the code or is it working fine ? HeadShot asked Aug 10, 2018 HeadShot 636 views answer comment Share Follow See all 16 Comments See all 16 16 Comments reply Show 13 previous comments srestha commented Aug 11, 2018 reply Follow Share @Shaik where I told wrong? 0 votes 0 votes Shaik Masthan commented Aug 11, 2018 reply Follow Share @srestha,mam your first comment there is a problem I think, memory is not deallocated memory successfully de-allocated. in case if we forgot to free pointer, then there will be dangling pointer error there is no concept of free the pointer.... we have re-initialize it, if we want to use it again 0 votes 0 votes srestha commented Aug 11, 2018 reply Follow Share without freeing pointer there is a dangling pointer issue 0 votes 0 votes Please log in or register to add a comment.