Multiple choice technology mainframe

EXPOSE variable-1 ... varible-n

  1. Allow Variable-1 through variable-n to be shared with the main part of the program

  2. Used with the PROCEDURE instruction

  3. suppress Variable-1 through variable-n not to be share with main part of the program

  4. All the above

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Explanation

EXPOSE is used with PROCEDURE to selectively allow specific variables to be shared between the main program and the procedure, overriding the default local scope. Options A and B are correct: EXPOSE allows variables A through n to be shared, and it is used with PROCEDURE instruction. Option C is incorrect as EXPOSE enables sharing, doesn't suppress it.