(Solved) : 4 Create Custom Types Variables Define Struct Type Memory Block Hold Dimension Rectangle W Q44071823 . . .
4. Create custom types and their variables: a Define a struct type of memory block that can hold the dimension of rectangle: width and height, and then create a memory of the type to hold one rectangle b. Define a struct type of Point using x and y coordinates and then declare and initialize three-point variables 40 Define a struct of Triangle using three Point then declare and initialize one arbitrary triangle d. Define an enumeration type for Degree with possible values as either Bachelor, Master, Doctor and then declare and initialize two variables of Degree type C. Show transcribed image text 4. Create custom types and their variables: a Define a struct type of memory block that can hold the dimension of rectangle: width and height, and then create a memory of the type to hold one rectangle b. Define a struct type of Point using x and y coordinates and then declare and initialize three-point variables 40 Define a struct of Triangle using three Point then declare and initialize one arbitrary triangle d. Define an enumeration type for Degree with possible values as either Bachelor, Master, Doctor and then declare and initialize two variables of Degree type C.
Expert Answer
Answer to 4. Create custom types and their variables: a Define a struct type of memory block that can hold the dimension of rectan…
OR