CS 375, Compilers: Example Questions for Midterm Exam


Addressing:

Consider the following declarations:
     type complex = record  re, im: integer  end;

          person  = record name:     alfa;
                           age:      integer;
                           location: complex;
                           salary:   real     end;

     var  people = array [ 7..14, (austin, dallas, houston)]
                          of person;

Other Questions: