+ 1
What is function overloading
3 odpowiedzi
+ 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)
+ 11
Thanks to YouTube 👇 watch it
https://m.youtube.com/watch?v=dh0mKAPFzlQ
🎥 Function Overloading in C++ Programming - YouTube