Question: We noted in Section C 8.1.3 that Ada requires the variant portions of a record to occur at the end, to save space when a
We noted in Section C 8.1.3 that Ada requires the variant portions of a record to occur at the end, to save space when a particular record is constrained to have a comparatively small variant part. Could a compiler rearrange fields to achieve the same effect, without the restriction on the declaration order of fields? Why or why not?
Step by Step Solution
3.39 Rating (165 Votes )
There are 3 Steps involved in it
No or at least not easily Consider nest... View full answer
Get step-by-step solutions from verified subject matter experts
