About This Chapter
C++ Programming Functions - Chapter Summary
Make the process of studying C++ programming functions simple using the entertaining lessons in this short chapter. Our expert instructors can help you gain greater insight into variable scope and storage, standard library functions and much more. Multiple-choice quizzes in this chapter ensure you have a quality grasp of the important concepts in the lessons. Our broader exam tests your comprehension of the entire chapter. Enjoy access to these study tools 24/7 using any computer, smartphone or tablet. After completing this chapter, you will be able to:
- List and discuss functions and parameters in C++ programming
- Share facts about passing a variable by reference and value
- Define recursion and iteration in C++ programming
- Offer examples of overloading functions
- Discuss the practical application of C++programming
1. Functions & Parameters in C Programming
This article explains what is a function in C programming language and how it can be used. It also explains the variables associated in declaring and naming functions. We will also see example of functions that return a value.
2. Variable Scope in C Programming
In this lesson, you will learn about the scope of variable inside the program or within a specific functions. You will learn which scope is appropriate to use in different conditions. Working code examples are provided.
3. Passing a Variable by Reference & Value in C Programming
This lesson explains Call By Reference and its implementation along with the explanation of pointers, reference, and de-reference operators. We also compare with Call by Value.
Earning College Credit
Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 2,000 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.
To learn more, visit our Earning Credit Page
Transferring credit to the school of your choice
Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.
Other chapters within the Computer Science 112: Programming in C++ course