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);
What is the most appropriate data type for a variable that is being used to represent numeric data in a printable form and at the same time can be used to perform arithmetic?
Given the following code, what can be said about the scope of the variables in procedure P? P:
PROCEDURE; B: BEGIN; DCL K FIXED BIN (15); END B; D: DO; DCL S CHAR (10); END D; END P;