Multiple choice technology programming languages

Function overloading in C++ is

  1. a group function with the same name

  2. all have the same number and type of arguments

  3. functions with same name and same number and type of arguments

  4. none

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Function overloading in C++ allows multiple functions to share the same name within the same scope. The key requirement is that they must have different parameter lists - either different numbers of parameters or different types. Option A correctly captures this: it's 'a group of functions with the same name' (implying the group as a whole shares one name while individual functions are distinguished by parameters). Options B and C are incorrect because overloaded functions must NOT have the same number and type of arguments - that would be a redefinition error, not overloading.