Question: Consider the following: typedef struct { int x; char y; } Rec1; typedef Rec1 Rec2; typedef struct { int x; char y; } Rec3; Rec1

Consider the following:

typedef struct

{

int x;

char y;

} Rec1;

typedef Rec1 Rec2;

typedef struct

{

int x;

char y;

} Rec3;

Rec1 a, b;

Rec2 c;

Rec3 d;

Specify which of the variables a,b,c,d are type equivalent under (a) structural equivalence, (b) strict name equivalence, and (c) loose name equivalence.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!