What is function overloading | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is function overloading

27th Jul 2019, 5:12 PM
PRAKASH BANDI
PRAKASH BANDI - avatar
2 Answers
+ 1
It is defining functions with the same names, but with different parameter types. With overloading these: func(1, 2) func(1.0, 2.0) Would've been 2 independent functions. (Don't confuse overloading and overriding)
28th Jul 2019, 9:48 AM
Seb TheS
Seb TheS - avatar
+ 11
Thanks to YouTube 👇 watch it https://m.youtube.com/watch?v=dh0mKAPFzlQ 🎥 Function Overloading in C++ Programming - YouTube
27th Jul 2019, 7:01 PM
KingDaniel2004
KingDaniel2004 - avatar