• array of union vs union of array
    Hello I am looking for help in understanding the difference between following 2 declarations: 1. union u2 { unsigned int urow2; struct s2 { unsigned int p32 : 1; unsigned int p31 : 1;...
  • array of union vs union of array
    Hello I am looking for help in understanding the difference between following 2 declarations: 1. union u2 { unsigned int urow2; struct s2 { unsigned int p32 : 1; unsigned int p31 : 1;...
  • unions ?
    I want to make a function that accepts 3 calling parameters but one of which is either be a string or an integer. So in an attempt to realise it I started to play with the following. But I get a...
  • Union
    I need to set up the following union type definition in a global header (.h) file typedef union { struct { unsigned char App_Data_Type; //Power on tests unsigned char DPort_RAM_Fail_Flag...
  • Union
    hi i am programming AT89s52 in C.I am facing a problem in the program.i have declared array in union as shown below union { unsigned int uiData[100]; }s; The problem is i have to access this...