Question: Problem 1 . Consider the following type declarations TYPE A 1 : float; A 2 : pointer to float; A 3 : pointer to integer;

Problem 1. Consider the following type declarations
TYPE
A1 : float;
A2 : pointer to float;
A3 : pointer to integer;
T1 : structure { x : float; }
T2 : structure { x : A1; }
T3 : structure { a : float; b : integer; }
T4 : structure { b : integer; a : float; }
T5 : structure { a : pointer to T5; b : pointer to T6; c : pointer to T7; }
T6 : structure { a : pointer to T6; b : pointer to T5; c : pointer to T5; }
T7 : structure { a : pointer to T6; b : pointer to T7; c : pointer to T9; }
T8 : structure { a : pointer to T7; b : pointer to T6; c : pointer to T10; }
T9 : array [4][5] of T5; // array 4 rows 5 columns
T10 : array [4][5] of T2;
Assuming the most permissive definition of structural equivalence, which types are structurally equivalent?

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!