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 13STE
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
Why do user-defined functions need function prototypes?
(Function Prototypes and Definitions) Explain the difference between a function prototypeand a function definition
A function has different forms such as function call ,declaration, definition .in your opinion which form of function is called prototype and why?

Chapter 5 Solutions

Problem Solving with C++ (9th Edition)