Free C9050-041 Exam Braindumps
Programming with IBM Enterprise PL/I (C6030-041) (page: 22)

QUESTION: 58
In which of the following situations can a subroutine be replaced by a function without any major
changes to the code?

A. When the subroutine changes an array parameter
B. When the subroutine changes a structure parameter
C. When the subroutine changes more than one parameter
D. When the subroutine changes only one scalar parameter

Answer(s): D
QUESTION: 59
To validate the assignment in the following code, which condition should be enabled?

TEST: PROC(A, B);
DCL (A, B) CHAR (*);
A = B;
END;

A. SIZE
B. STRINGRANGE
C. STRINGSIZE
D. SUBSCRIPTRANGE

Answer(s): C
QUESTION: 60
Which of the following is NOT a valid way to set a pointer P to zero?

A. UNSPEC(P) = ' B;
B. P = PTRVALUE(0);
C. P = SYSNULL();
D. P = 0;

Answer(s): D
QUESTION: 61
What is the value of B after executing the following code?

DCL A CHAR(10) VAR;
DCL B BIN FIXED(31) INIT(0);
DCL C CHAR(5) INIT('ABCD');
A = C;
B = LENGTH(A);

A. 10
Viewing page 22 of 52
Viewing questions 106 - 110 out of 146 questions


Post your Comments and Discuss IBM C9050-041 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!