Question: 5. Given the type and variable declarations in C syntax typedef struct { int i; double j; } record; struct { int i; double
5. Given the type and variable declarations in C syntax typedef struct { int i; double j; } record; struct { int i; double j; record x,y; } Z; State which variables are type equivalent under (a) structural equivalence and (b) name equivalence?
Step by Step Solution
3.28 Rating (151 Votes )
There are 3 Steps involved in it
Answer There are only two variables x and y So answers for part a and b ar... View full answer
Get step-by-step solutions from verified subject matter experts
