Your Ad Here
0

How can you determine the size of an allocated portion of memory ?

Posted by The Blogger on 9:32 AM in
Answer:

You can’t, really. free() can , but there’s no way for your program to know the trick free() uses. Even if you disassemble the library and discover the trick, there’s no guarantee the trick won’t change with the next release of the compiler.


tags: c interview questions and answers, c interview question How can you determine the size of an allocated portion of memory, How can you determine the size of an allocated portion of memory

0 Comments

Post a Comment

Your Ad Here

Copyright © 2009 Interview Questions and Answers