A function is a self-contained program segment or sub-program that performs some well-defined task. The C program consists of one or more functions. The execution of each function begins as a sequence of function call appears in the main () function. If a program contains only one function then it is known as the main () function.
In this “Functions – C Programming” you will learn about the following topics:
- Function in C Programming
- Advantages of Function
- Types of Functions
- Library/Built-In Function, Main () Function, User Defined Function
- Difference between Library Function and User-Defined Function
- Function Declaration/Prototyping, Function Call, Function Definition/Function Body
- Function Parameters (or Arguments)
- Classification/Categories of User Defined Function
- Function With No Arguments and No Return Value, Function with No Arguments and Return Value, Function with Arguments and No Return Value, Function With Arguments and Return Value
- Different Types of Function Calls
- Pass Arguments by Value, Pass Arguments by Address or Reference for Pointer
- Recursive Function
- Difference between Recursive and Iteration
- Concept of Local, Global, Static and Register Variables
- Difference between Local, Global and Static Variables
- Preprocessor Directives
- Some Features of Preprocessor Directives
- Preprocessor Directives Are Divided Into Three Categories
- File Inclusion Directive, Macro Substitution Directive, Conditional Inclusion
- Library Functions
- Header Files
- Macros in C Programming
- Types of Macros
- Object-like Macros, Chain Macros, Function-like Macro
==== Point to Note ====
This article Functions – C Programming is contributed by Pawan Tiwari, a student of LA GRANDEE International College (LGIC).
If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].
See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
0 Comments