Turbo C

Hi,
I am a student of IUT.
I have a question,

What is the difference between structure and union?


Shahriar Islam
S.I.No. : 091407
MCE
IUT
DHAHKA

Comments

  • A union is a type that enables you to store different data types in the same memory space (but not simultaneously).

    A structure can hold these data simultaneously
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion