How many dimensions are allowed for a table?
D
Correct answer
Explanation
COBOL allows up to 7 dimensions for a table (multi-dimensional array). This is defined by using multiple OCCURS clauses at different levels in the data description. Each OCCURS clause adds another dimension, and the language specification permits a maximum of 7 such nested dimensions.