--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: > > ---------- Forwarded message ---------- > From: Aditi Vaishnav <[EMAIL PROTECTED]> > Date: Feb 12, 2008 11:13 AM > Subject: > To: [EMAIL PROTECTED] > > > > Hello friends > Can any one tell me that is there any difference between structure and unions? > How does the pointer increase the execution speed of a program? > thanx > >
strucures and unions are both collecton of differnts data types .but how tey memory allocates for storage of this data is the basic differce.In structures the every data allocates the different space but in case of the unions the the memory allocates the highest datatype in that unions and remaining datatypes are fit inthis lagest datatypes.thus unuons save the memory space. > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. > > > -- > PJH > > http://shabbleland.myminicity.com/ind >
