functions

21
Functions By:- Fatima saqlain Gaurav raj khaiwal Gaurav subham Gautam ahuja Karan singh bisht Madhur chopra

Upload: gaurav-subham

Post on 25-May-2015

298 views

Category:

Education


2 download

DESCRIPTION

Function in c language

TRANSCRIPT

  • 1. By:-Fatima saqlainGaurav raj khaiwalGaurav subhamGautam ahujaKaran singh bishtMadhur chopra

2. 5.1 Introduction 5.2 Math Library Functions 5.3 Functions 5.4 Function Definitions 5.5 Function Prototypes 5.6 Header Files 5.7 Calling Functions: Call by Value and Call by Reference 5.8 Storage Classes 5.9 Scope Rules 5.10 Recursion 5.11 Example Using Recursion: The Fibonacci Series 3. Divide and conquer Construct a program from smaller pieces or components These smaller pieces are called modules Each piece more manageable than the original program 4. Math library functions perform common mathematical calculations #include Format for calling functions FunctionName( argument ); If multiple arguments, use comma-separated list Cout