1.

An inline function is expanded during ______________(a) compile-time(b) run-time(c) never expanded(d) end of the programI got this question in an international level competition.This interesting question is from Functions topic in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer» RIGHT ANSWER is (a) compile-time

The EXPLANATION: An inline function is EXPANDED during the compile-time of a program.


Discussion

No Comment Found

Related InterviewSolutions