subhadipbhowmik / 30-Days-Of-CPP

30 days of CPP programming challenge is a step by step guide to learn CPP programming language in 30 days. Happy Coding.
https://subhadipbhowmik.github.io/30-Days-Of-CPP/
MIT License
59 stars 141 forks source link

Add Day-08 Function Overloading #346

Closed katarianikita2003 closed 3 months ago

katarianikita2003 commented 3 months ago

Fixes #316

Function overloading in C++ allows multiple functions with the same name but different parameter lists. This enhances code readability and usability by enabling functions to perform similar tasks with different types or numbers of inputs. The compiler uses the function signature (name + parameter list) to determine which function to call.

Screenshot 2024-06-14 231156

katarianikita2003 commented 3 months ago

@subhadipbhowmik , please review it

github-actions[bot] commented 3 months ago

🎉 Your pull request has been successfully merged! 🎉 Thank you for your contribution to our project. Your efforts are greatly appreciated. Keep up the fantastic work! 🚀