kapilk <ka**********@rediffmail.com> wrote:
I have a pointer to which has been allocated some memory now how do i
find out the number of Bytes allocated?
You can't. If you need that bit of information you need to store
it when you allocate the memory. (On some implementations there
are non-standard functions/tricks that let you get at the size,
but using them will make your program unportable).
Regards, Jens
--
\ Jens Thoms Toerring ___
Je***********@physik.fu-berlin.de
\__________________________
http://www.toerring.de