Hello,

I've got a doubt I didn't find in books. Is there a way of knowing how much memory has been reserved for a pointer.

I guess, C must mark somehow the memory reserved for a pointer (by marking last position, saving size of the memory reserved,...??) to avoid conflicts using that memory for another pointer. So, if this is correct, I guess there must a way of knowing how many memory was reserved previously for that pointer. Am I correct?

(The idea is to know in a function which receives a pointer the size it has reserved)

Well, thank you for your help.

Cristian