Question: For the following code, enum name _ tag { BLUEBERRY, BANANA, PINEAPPLE, WATERMELON } ; typedef enum name _ tag name _ t; struct fruit
For the following code,
enum nametag
BLUEBERRY,
BANANA,
PINEAPPLE,
WATERMELON
;
typedef enum nametag namet;
struct fruittag
namet name;
double size;
;
typedef struct fruittag fruitt;
fruitt getBiggerfruitt double
fsize ;
return ;
int mainvoid
fruitt myFruit;
myFruit. name BANANA;
myFruit.size ;
myFruit getBiggermyFruit;
printfThis fruit is grams.
myFruit.size;
return ;
What is the output?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
