Want to pass your Developing with IBM Enterprise PL/I C6030-042 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
Given the following statements, where will the variables A, B and C be allocated?
DCL A FIXED;
DCL B CHAR(80) BASED(P);
DCL C CHAR(1000) CONTROLLED;
DCL D AREA(1000);
DCL P PTR STATIC;
ALLOC C;
ALLOC B IN(D);
A. A in STACK, B and C are in HEAP
B. A in HEAP, Band C are in STACK
C. A and B are in STACK, C in HEAP
D. A in STACK, B in STATIC, C in HEAP
Which of the following compile list sections would be used to find the location of a static variable in a dump?
A. Attribute/Xref Table
B. Source Listing
C. Table of Offsets and Statement Numbers
D. Storage Offset Listing
Given the following declaration for X:
DCLX FIXED DEC (3) INIT (123);
If Y is declared as CHAR, what should its minimum length be to preserve the value 123 if these statements
are executed?
Y = X;
X =Y;
A. 3
B. 4
C. 5
D. 6