The Size Of Allocated Memory

In a comment on Google+ to my previous post The Size Of Strings, my colleague Lee Berg asked: Other than sizeof(), what is the best way to ensure a safe implementation? This is a damn good question because a built-in function to retrieve the size o… (read more)