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.
Question
Solution 1
A macro is used in place of a function for several reasons:
It reduces code size: Macros are preprocessed by the preprocessor in C/C++ programming languages. This means that the macro code is expanded at compile time, which can lead to a reduction in the overall size of the code.
It increase 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.
Awe increases happiness, enhances a sense of belonging, and reduces feelings of time pressure. True False