Question 79Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

In assembly, how is a macro invoked after its definition?

  1. ABy using the JMP instruction
  2. BBy using the CALL instruction
  3. CBy writing its name followed by MACRO
  4. DBy simply writing its name with any required parameters
Show answerHide answer

Correct answer: (D) By simply writing its name with any required parameters

Explanation

After defining a macro, you invoke it by writing its name (with any arguments) as if it were an instruction; the assembler then expands the macro body in place. CALL is for procedures, not macros.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

This is question 79 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.