GATEverse
← GATE CSE 1988

Q2xii

NATMarks unknown

Consider the following program skeleton and below figure which shows activation records of procedures involved in the calling sequence.

p→s→q→r→q.p \rightarrow s \rightarrow q \rightarrow r \rightarrow q.

Write the access links of the activation records to enable correct access and variables in the procedures from other procedures involved in the calling sequence

Figure 1

procedure p; procedure q; procedure r; begin q end r; begin r end q; procedure s; begin q end s; begin s end p;

Sign in to save attempts.

Loading…