I don't understand what a "union" is. I've learned my C from C for Dummies, and a little bit of experience, but I've never come across "union". Here's the code I came across in an application. Could someone please explain to me what's going on in this code?
The DB_ITEM structure holds a variety of data. I don't know if all of the data is stored as a string, or if it can somehow store both strings and integers and floats.
I just need an explanation of what's happening in this structure.