Given the following code, what will be output?MP: PROC OPTIONS(MAIN);DCL A CHAR(1) INIT('A');DCL B CHAR(1) INIT('B');DCL

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Given the following code, what will be output?MP: PROC OPTIONS(MAIN);DCL A CHAR(1) INIT('A');DCL B CHAR(1) INIT('B');DCL

Post by answerhappygod »

Given the following code, what will be output?MP: PROC OPTIONS(MAIN);DCL A CHAR(1) INIT('A');DCL B CHAR(1) INIT('B');DCL C CHAR(1) STATIC INIT('C');CALL SR1(A);PUT SKIP LIST(A!!B!!C);SR1: PROC(A);DCL A CHAR(1);DCL B CHAR(1);DCL C CHAR(1);A = '1';B = '2';C = '3';END SR1;END;

A. 1B3
B. 1BC
C. 123
D. 12C
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply