• +91 9723535972
  • info@interviewmaterial.com

C Interview Questions and Answers

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

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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners