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

Discussion

In a macro call the control is passed to the macro.

  • A.True
  • B.False

Answer: B

Correct answer: False

There is no transfer of control. A macro is expanded in place, before compilation, so its body ends up written out at each call site - no jump, no stack frame, no return. That is the essential difference from a function: the speed of inline code, at the cost of size and of type checking.

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

Post your comment

Please log in or register to post a comment.