Date: Fri, 19 May 2000 10:34:30 +0530 (IST) From: Prashant TR X-Sender: tr AT vsnl DOT net DOT in To: Burgupalli Chaitanya cc: DJGPP Subject: Re: allocated memory size In-Reply-To: <39249FAE.F0428E1F@fujixerox.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 19 May 2000, Burgupalli Chaitanya wrote: > Is there any way I can find out the number of bytes of memory that has > been allocated to a pointer. Keep track of it while allocating would be > a simple solution but is there any other way. No, there isn't a way. So you'll have to know what you are doing. Please try comp.lang.c++ or some such newsgroup for questions specific to C. Prashant