Computer Science: TYPE DECLARATIONS T1 = int; T2 = pointer to T1; T3 = pointer t
ID: 3762428 • Letter: C
Question
Computer Science:
TYPE DECLARATIONS
T1 = int;
T2 = pointer to T1;
T3 = pointer to int;
T4 = pointer to string;
T5 = struct {
a : int;
b : array of T6;
}
T6 = struct {
a : T1;
b : array of T5;
}
T7 = struct {
a: T5;
b: array of T6;
}
Determine which types are structurally equivalent. This would be in a C environment.
Please show work/explain.
Explanation / Answer
T2 and T3 are structurally equivalent.
pointer to T1 and pointer to int is same
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.