When a data item is defined with the OCCURS clause and a DEPENDING ON phrase, the actual number of occurrences is determined at ____________.

  • Compile time
  • Declaration time
  • Execution time
  • Initialization time
The actual number of occurrences for an OCCURS clause with a DEPENDING ON phrase is determined at execution time, not during compilation. The DEPENDING ON phrase allows the size to be specified dynamically during program execution.
Add your answer
Loading...

Leave a comment

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