• Union float return
    Float_Read(ptr) /*Value to be stored to EEPROM */ char xdata *ptr; { union /* UNION to access the bytes of int */ { float i; char split[4]; }data_trans; data_trans.split[0...
  • May functions return an union?
    Is it possible for a function to return a union? Storing data in the Flash/EEData memory of the ADuC845, is done through operating some SFR registers and page write. I would like to read and write...
  • 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...
  • UNION
    Example for use of union in C51