Multiple choice technology programming languages

Which among the following is true for the below definition? Account-Record 1 100 A Account-Number Account-Record 10 N Account-Entity Account-Record +15 03 A State-Code Account-Record +15 03 A

  1. Both State-Code and Account-Entity refer to the 16th byte of the Account-Recored

  2. This definition would throw invalid referencing error while executing

  3. Account-Number refers to the 10th byte of Account-Record

  4. Account-Entity refers to the 15th byte of the Account-Record

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Easytrieve record definitions, +15 means 15 bytes from the start of the record, which is position 16 (zero-indexed). Both State-Code and Account-Entity are defined at +15, so they both reference the same byte position.