Question: Write a complete C function that does the following: Defines a union named x of 3 types ( int , double , and array of
Write a complete C function that does the following:
Defines a union named x of 3 types (int, double, and array of 4 unsigned shorts). Defines a struct named s with 2 members, of type union x and char. Declares an instance of the struct, and assign the value 39.4 to the double and set the value of the char to D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
