bcoz void is a datatype, though u cant create obj of void type, then also it hs to hs a size, so it hs been given the minimal sz i.e 1
On Tue, Sep 6, 2011 at 5:11 PM, UTKARSH SRIVASTAV <[email protected]>wrote: > why sizeof(vod) is giving ans 1 not error? > > -- > *UTKARSH SRIVASTAV > CSE-3 > B-Tech 3rd Year > @MNNIT ALLAHABAD* > > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
