My program has an array defined to have 10 items ....
COBOL Interview Questions
(Continued from previous question...)
My program has an array defined to have 10 items ....
Q:My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in
this array, the program does not abend. What is wrong with it?
A: Must use compiler option SSRANGE if you want arry bounds checking. Default is NOSSRANGE.
(Continued on next question...)
Other Interview Questions
|