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.
Question
Solution 1
A macro is used in place of a function primarily to reduce execution time. Here's why:
- Macros are preprocessed: Macros are handled by the preprocessor before the program is actually compiled. This means that when you use a macro, the preprocessor replaces the macro with its definition before the 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
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.
If the scaling factors values sx and sy < 1 thena. It reduces the size of objectb.It stunts the shape of an objectc.noned.It increases the size of object