about account add arrow-down arrow-left arrow-right arrow-up back-arrow register-arrow book-mobile book categories chat-bubble-mobile chat-bubble close college contact-us credit-card drag email-square facebook-mobile facebook-square facebook faq film history home load modal-error person pinterest-square play-mobile play queue remove resume search share show star tick trailer trash twitter-mobile twitter-square twitter university warning warning youtube-square open-eye close-eye promo-tag tag check info info active
14

Expanding What Your Functions Can Do in C++

Lecture no. 14 from the course: Introduction to C++: Programming Concepts and Applications

Expanding What Your Functions Can Do in C++

Taught by Professor John Keyser | 30 min | Categories: The Great Courses Plus Online Professional Development Courses

A parameter is a piece of data used as input into a function. Discover how to create two functions, each with the same name, but with different numbers of parameters—an approach called overloading. Also look at different ways to “pass” parameters to produce an output, either preserving the parameter’s value (pass by value) or changing it (pass by reference).

Reviews