Skip to main content

Introduction to Functions

Body

Introduction to Functions



In this part you will learn:
1. C syntax
2. Functions
3. Function Calling
4. Function definition
5. Function prototype
6. Showing output

What is a Function?


In C, a function is a group of statements that together performs a task. Every C program has at least one function called the ‘main()’ function. It is the heart of the program. Functions divide your code into separate small parts so that the code is easier to understand and easier to write. Each function performs a specific task based on its usage. The C language relies very much

Add new comment

File attachments