How does free() know how many bytes to free?

Answer Posted / suchita

frees a block allocated with malloc()

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1500


How can I remove the trailing spaces from a string?

618


how to execute a program using if else condition and the output should enter number and the number is odd only...

1662


How do you define CONSTANT in C?

657


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1376






How can I avoid the abort, retry, fail messages?

665


Explain the properties of union. What is the size of a union variable

720


Explain what is the difference between functions abs() and fabs()?

628


What are the parts of c program?

642


what are the different storage classes in c?

667


What is sizeof c?

614


Why are algorithms important in c program?

625


Explain how can you check to see whether a symbol is defined?

665


What are the 4 types of organizational structures?

627


Difference between Function to pointer and pointer to function

637