C Programming Statement Would Create New Data Type Named Box Struct Float Width Float Hei Q37291542

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


An suer

A.struct {float width;float height;} typedef Box;———————————–C.typedef struct{float height;float width;}Box;———————————

Please up vote the solution if it helped. Thanks!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.