Why is a macro used in place of a function? ans. It reduces code size. It increases code size. It reduces execution time. It increases execution time.

Question

Why is a macro used in place of a function? ans. It reduces code size. It increases code size. It reduces execution time. It increases execution time.
🧐 Not the exact question you are looking for?Go ask a question

Solution 1

A macro is used in place of a function primarily for two reasons:

  1. It reduces execution time: When a function is called in a program, the control has to jump from the calling function to the called function and then return. This jump takes some time, which can be saved if a macro is used. When a Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv

This problem has been solved

Similar Questions

Why is a macro used in place of a function? ans. It reduces execution time. It increases execution time. It increases code size. It reduces code size.

Why is a macro used in place of a function? It increases code size. It increases execution time. It reduces execution time. It reduces code size.

Why is a macro used in place of a function? ans. It reduces code size. It increases execution time. It increases code size. It reduces execution time.

Why is a macro used in place of a function? ans. It reduces code size. It increases code size. It reduces execution time. It increases execution time.

Awe increases happiness, enhances a sense of belonging, and reduces feelings of time pressure. True False

1/3