What will happen when freeing memory twice

Answers were Sorted based on User's Feedback



What will happen when freeing memory twice ..

Answer / kav_029

May leads to dangling pointer

Is This Answer Correct ?    9 Yes 2 No

What will happen when freeing memory twice ..

Answer / veeresh

Memory is the very valuable, if we leave memory freely then
memory will be wasted and cant be used.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

why we use "include" word before calling the header file. is there any special name for that include??????

1 Answers   TCS,


What is a list in c?

0 Answers  


What do you mean by keywords in c?

0 Answers  


how to find anagram without using string functions using only loops in c programming

1 Answers   Mind Tree, TCS,


How does C++ help with the tradeoff of safety vs. usability?

1 Answers  






Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

0 Answers  


What is the difference between far and near in c?

0 Answers  


wite a programme in c to linear search a data using flag and without using flags?

3 Answers   TCS,


Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


What is the difference between class and object in c?

0 Answers  


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

1 Answers   91mobiles, Amazon, App Guruz, College School Exams Tests, Folio3, Infosys, Omega, Planin, Riphah International University, Subex,


What does the function toupper() do?

0 Answers  


Categories