Machine-translated by Google. Questions are authored in English.
Top

Discussion

The offset of a field within a record is computed by

  • A.the programmer
  • B.accumulating the widths of the preceding fields with any padding
  • C.dividing the record total width by however many fields there are
  • D.the linker once all the modules have been combined

Answer: B

Each field is placed at the running total, which then advances by that field's width. Alignment requirements may insert padding, which the total must account for. Reordering the fields can reduce that padding considerably.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.