Match each of the high level language statements given on the left hand side…

PYQ GATE 2005

Match each of the high level language statements given on the left hand side with the most natural addressing mode from those listed on the right hand side.

 1 A[I] = B[J];	     a Indirect addressing
 2 while (*A++);     b Indexed, addressing
 3 int temp = *x;    c Autoincrement 

  1. A.

    (1, c), (2, b), (3, a)

  2. B.

    (1, a), (2, c), (3, b)

  3. C.

    (1, b), (2, c), (3, a)

  4. D.

    (1, a), (2, b), (3, c)

Attempted by 145 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…