O'Reilly logo

C Programming Essentials by S. K. Bandyopadhyay, K. N. Dey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Functions and Recursion

A large program is often divided into smaller parts called modules. Each module can be realized in the C language with the help of functions. Functions enable people to create their own specific task. A major advantage that C gives us is the ability to create function libraries and then program using only those library functions needed to accomplish the tasks, the program needs to perform. So far, we have been restricting ourselves to a few functions, namely, the main and some standard I/O functions. In this chapter, we shall demonstrate how functions are designed, how two or more functions are put together, and how they communicate with each other.

Introduction

C functions are broadly classified into two major ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required