How do you access an element within an array in COBOL?

  • By using ACCEPT statement
  • By using ADD statement
  • By using MOVE statement
  • By using subscript or index
In COBOL, you access an element within an array by using a subscript or index. This index specifies the position of the desired element in the array, allowing for easy retrieval and manipulation of data.
Add your answer
Loading...

Leave a comment

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