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
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
-
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!