Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How does free know how many bytes to free?
How does free know how many bytes to free?
✍: Guest
The malloc/free implementation remembers the size of each block as it is allocated, so it is not necessary to remind it of the size when freeing. (Typically, the size is stored adjacent to the allocated block, which is why things usually break badly if the bounds of the allocated block are even slightly overstepped.
2016-03-24, 1394👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...
How to reduce the final size of an executable file? Size of the final execuatable can be reduced usi...
What metrics will you look at in order to see the project is moving successfully? Most metric sets d...
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); ...