Technical Discussion :: C++
Home > Freshers > Technical Interview Questions > C++
5. Define function overloading.
Answer:
Two or more functions can share the same name that perform a variety of different tasks as long as their parameter declarations are different. The functions that share the same name are said to be overloaded, and the process is referred to as function overloading.
Asked In :: Tech Mahindra TCS Sopra Steria
Two or more functions can share the same name that perform a variety of different tasks as long as their parameter declarations are different. The functions that share the same name are said to be overloaded, and the process is referred to as function overloading.