C PROGRAMMING
Which statement would create a new data type named Box:
A.
struct {
float width;
float height;
} typedef Box;
———————————–
B.
Box myBox;
———————————–
C.
typedef struct{
float height;
float width;
}Box;
———————————
D.
typedef Box{
float height;
float width;
}struct;
Answer
A.struct {float width;float height;} typedef Box;———————————–C.typedef struct{float height;float width;}Box;———————————