1/28/2016 1
Functions
- Prof. Indranil Sen Gupta
- Dept. of Computer Science & Engg.
I di I tit t f T h l
Programming and Data Structure 1
Indian Institute of Technology Kharagpur
Introduction
- Function
– A self-contained program segment that carries
- ut some specific, well-defined task.
- Some properties:
– Every C program consists of one or more functions.
- One of these functions must be called “main”.
Programming and Data Structure 2
- Execution of the program always begins by carrying out