## PASCAL-Programming

Question 1 |

Given the following Pascal-like program segment

Procedure A; x,y: integer; Procedure B; x,z: real S1endB; Procedure C; i: integer; S2endC; end A;

The variables accessible in S1 and S2 are

x or A, y, x of B and z in S1 and x of B, y and i in S2 | |

x or B, y and z in S1 and x of B, i and z in S2 | |

x or B, z and y in S1 and x of A, i and y in S2 | |

None of the above |

Question 1 Explanation:

Note: Out of syllabus.

There is 1 question to complete.