Re: [algogeeks] c++ q

2011-08-19 Thread sukran dhawan
if size is 0 then objects of that class will ve same addresses.to maintain uniqueness size of class is 1 .so distinct addrss On Fri, Aug 19, 2011 at 1:05 AM, priya ramesh love.for.programm...@gmail.com wrote: why isn't the size of empty class not equal to zero?? -- You received this message

Re: [algogeeks] c++ q

2011-08-19 Thread priya ramesh
why will the objects have same addresses if the size is 0?? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to

Re: [algogeeks] c++ q

2011-08-19 Thread sukran dhawan
if the sie is 0 then objects cannot ve unique addresses. atleast one byte is required to hold a unique address On Fri, Aug 19, 2011 at 5:46 PM, priya ramesh love.for.programm...@gmail.com wrote: why will the objects have same addresses if the size is 0?? -- You received this message because

[algogeeks] c++ q

2011-08-18 Thread priya ramesh
why isn't the size of empty class not equal to zero?? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to

Re: [algogeeks] c++ q

2011-08-18 Thread siddharth srivastava
On 19 August 2011 01:05, priya ramesh love.for.programm...@gmail.comwrote: why isn't the size of empty class not equal to zero?? because its a container for other items, but does occupy space for its own storage. -- You received this message because you are subscribed to the Google Groups