Posted By

yuconner on 08/04/06


Tagged

structures


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

copyleft


Union


 / Published in: C++
 

Suposse int=2bytes, char=1byte, double=4bytes [BYTE1][BYTE2][BYTE3][BYTE4][BYTE5][BYTE6][BYTE7] [------A------] [----B-----] [--------------C-------------]

  1. union Example {
  2. int A;
  3. char B;
  4. double C;
  5. } ex;

Report this snippet  

You need to login to post a comment.