Problem Solving with C++ (9th Edition)
Problem Solving with C++ (9th Edition)
9th Edition
ISBN: 9780133591743
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 difference between overloading a function and redefining a function?
What roles do the parameters and the return statement play in a function definition?
A name has this scope if it is declared in the function parameter list of a function declaration without a body.

Chapter 5 Solutions

Problem Solving with C++ (9th Edition)

Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
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