Union Data
Problems
Problem 1: Fruits
Union data can be several things, but only one of them at a time. Construct the template for the data type, named “fruits”, and is one of “apple”, “banana” or “starfruit”.
Union data can be several things, but only one of them at a time. Construct the template for the data type, named “fruits”, and is one of “apple”, “banana” or “starfruit”.