Question: Given the C code below, which C statement is legal? struct person { struct { float height, weight; int age; char * name; } b;
Given the C code below, which C statement is legal?
struct person
struct
float height, weight;
int age;
char name;
b;
union
struct
int grade, room;
teacher;
float gpa;
u;
enum TCHR STDNT kind;
p;
Group of answer choices
pukind TCHR;
pheight f;
None of the other answers are legal.
puteacher.room ;
pbgpa f;
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
