in Programming in C
666 views
0 votes
0 votes

Something wrong with the code or is it working fine ?

in Programming in C
666 views

4 Comments

@Shaik

where I told wrong?
0
0

@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
0
without freeing pointer there is a dangling pointer issue
0
0

Please log in or register to answer this question.

Related questions