Interviewer And Interviewee Guide

Embedded Systems Interview Question:

What are the advantages and disadvantages of using macro and inline functions?

Submitted by: Administrator
Advantage:
Macros and Inline functions are efficient than calling a normal function. The times spend in calling the function is saved in case of macros and inline functions as these are included directly into the code.

Disadvantage:
Macros and inline functions increased the size of executable code.
Submitted by: Administrator

Read Online Embedded Systems Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.