Programming Languages
COBOL
Subjective
Mar 15, 2013
01 WS-TABLE.
03 WS-TABLE-EL OCCURS 5 TIMES.
04 FILLER-X PIC X(1) VALUE 'A'. 04 WS-EX REDEFINES FILLER-X PIC X(1).
What would be the output of DISPLAY WS-TABLE?
Detailed Explanation
'AAAAA'. The code will compile and execute as Redefinition of an item subordinate to OCCURS clause.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts