Hmmm i got the size as 16 bytes. I used gcc compiler ! wat may be the
reason?

On Sat, Aug 6, 2011 at 8:58 PM, payel roy <smithpa...@gmail.com> wrote:

> Starting byte is always multiple of size. As double is of 8 bytes, so it
> will start from 0,8,16 ... th byte..
>
>
> On 6 August 2011 19:02, SANDEEP CHUGH <sandeep.aa...@gmail.com> wrote:
>
>> yeah answer is 24 .. i knw..
>>
>> i hav missed something in question that allocation starts at address which
>> is multiple of 4.
>> so i wanna ask.. why there is padding of 7 bytes after first char.. will
>> nt it work after 3 bytes padding????
>>
>> On Sat, Aug 6, 2011 at 6:55 PM, UTKARSH SRIVASTAV <
>> usrivastav...@gmail.com> wrote:
>>
>>> no the answer is 24 bytes ......................read cell padding
>>>
>>>  @MNNIT ALLAHABAD
>>> --
>>> *UTKARSH SRIVASTAV
>>> CSE-3
>>> B-Tech 3rd Year
>>> *
>>>
>>>
>>>  --
>>> 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
>>> algogeeks+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>  --
>> 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
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> 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
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
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 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to