Chapter 3
Recursion
Chapter Outline
3.1 INTRODUCTION TO FUNCTION
A function is a block of statements that can be used to perform a specific task. Fig. 3.1 describes the various parts of the function. A function has the following parts:
- Function prototype declaration
- Definition of a function (function declarator)
- Actual and formal arguments
- Return statement
- Invoking function.
3.1.1 Function Prototypes
We use many built-in functions. The prototypes of these functions ...
Get Introduction to Data Structures in C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.