initialization and accessing of struct and union