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...


what will happen if you free a pointer twice after
allocating memory dynamically ?

Answers were Sorted based on User's Feedback



what will happen if you free a pointer twice after allocating memory dynamically ?..

Answer / zan

segmentation fault

Is This Answer Correct ?    19 Yes 10 No

what will happen if you free a pointer twice after allocating memory dynamically ?..

Answer / manoj

Nothing will happen. program will run fine.

Is This Answer Correct ?    6 Yes 3 No

what will happen if you free a pointer twice after allocating memory dynamically ?..

Answer / karnik ankit

segmentation fault will be created

Is This Answer Correct ?    4 Yes 9 No

Post New Answer

More C Interview Questions

What is variable initialization and why is it important?

0 Answers  


Difference between strcpy() and memcpy() function?

0 Answers  


How can I automatically locate a programs configuration files in the same directory as the executable?

0 Answers  


please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC

2 Answers   Mphasis,


When was c language developed?

0 Answers  


main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }

11 Answers   HCL, Vector, Vector India, Vector Solutions, Wipro,


int x=sizeof(!5.856); What will value of variable x?

2 Answers  


What is bss in c?

0 Answers  


what is the difference b/w compiler and debugger?

2 Answers   Assurgent,


ratio,age,persentage

0 Answers  


Is register a keyword in c?

0 Answers  


explain what are pointers?

0 Answers  


Categories