Interviewer And Interviewee Guide

C++ Virtual Functions Interview Question:

Can you please explain the difference between using macro and inline functions?

Submitted by: Muhammad
A textual substitution is provided by a macro as a constant, where as an inline function is procedure which is called at each time. Although the macros have few advantages over inline functions, the disadvantages are numerous.
Submitted by: Muhammad

Read Online C++ Virtual Functions Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.