



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Creating user-defined functions Parameter Passing Scope and Lifetime of variables Recursion
Typology: Lecture notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Creating user defined functions ➢ C++ provides a mechanism similar to any other programming language that would create modules of the program called functions. ➢ the main () function - responsible for calling other functions although any function can call any other function.
Scope and Lifetime of variables