How does COBOL handle multi-dimensional arrays?

  • By defining separate one-dimensional arrays
  • By using nested OCCURS clauses
  • By using the MULTI-DIMENSIONAL keyword
  • COBOL does not support multi-dimensional arrays
COBOL handles multi-dimensional arrays by using nested OCCURS clauses. This allows the creation of tables with multiple levels, providing a structured way to represent data in multiple dimensions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *