Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between null pointer and dangling pointer?

Answer Posted / vadivel t

To Sourisengupta Question.

free() shall free the memory which is allocated dynamically.

But afrer the free() function being called,the pointer
which u r passing to free() as an argument, shall point to
the same base address, which is no more valid.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 types of organizational structures?

1108


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

1160


Explain how can type-insensitive macros be created?

999


What is the difference between pure virtual function and virtual function?

1129


What is a constant?

1065


Explain can the sizeof operator be used to tell the size of an array passed to a function?

1078


What is the difference between union and structure in c?

1182


What does the error message "DGROUP exceeds 64K" mean?

1229


What are the modifiers available in c programming language?

1223


What is pragma c?

1126


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1137


What is scanf_s in c?

1125


What is the concatenation operator?

1156


What is a structure member in c?

1007


What are the valid places to have keyword “break”?

1091