This is very basic question, I agree, but i could not find the answer for this. So experts pardon me.
In have a union named,
and a function called
// I need to check for the valid element and display the element.
// It might be a character or a Integer, So how can i extract the valid element from the union.
Thanks for your earliest attention.