Home / MCQ Bank / Computer
Computer Functions And Procedures In C Plus Plus

Which of the following is true about inline functions in C++?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • The compiler replaces the function call with the function code wherever it is called

Related Computer Questions

Which of the following is not the benefit of cache application? Collection of ledgers of same nature is called What is the purpose of the 'readonly' keyword in C#? What will be the output of the following C# code snippet? class Program { static void Main(string[] args) { int[] nums = {1}; var posNums = from n in nums wheres n > 0 select Math.Max(78, 9); Console.Write("The largest values in nums: "); foreach (int i in posNums) Console.Write(i + " "); Console.WriteLine(); Console.ReadLine(); } } What will be the output of the following C# code snippet? class UnsafeCode { static void Main() { int count = 100; int? result = null; int incr = 10; result = count + incr; if (result.HasValue) Console.WriteLine("result has this value: " + result.Value); else Console.WriteLine("result has no value"); Console.ReadLine(); } }