Structs and Unions

In reply to dave_59:

I am a novice in System Verilog, I was just trying to understand how structs and unions work

A packed union does not store any information about the last member that was written. Yo

Sorry dave, I didn’t understand it, can you explain with an example
Thank you
Manoj