Problem Solving with C++, Student Value Edition
Problem Solving with C++, Student Value Edition
10th Edition
ISBN: 9780134543680
Author: Walter Savitch
Publisher: PEARSON
Question
Book Icon
Chapter 5.3, Problem 14STE
Program Plan Intro

Functions calling functions:

  • A function body can contain a call to another function.
  • It acts as same as if called from a main function.
  • The declaration for function should appear before usage of function.
  • In programs all function declarations come after main function.
  • A function call can be placed within another function’s definition.
  • The definition of one function could not be placed within body of definition of another function.

Blurred answer
Students have asked these similar questions
What is the definition of a function?
Why do user-defined functions need function prototypes?
What roles do the parameters and the return statement play in a function definition?

Chapter 5 Solutions

Problem Solving with C++, Student Value Edition

Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr