Hello everyone !!! Once again welcome to "technical_spc". I hope all the topics covered in the previous blog are clear to all of you. If having any doubts you can contact me using the contact form or also you can put it in comments. So, in the last blog we have completed a most important topic i.e. String. Today we are going to cover another important part i.e. Function.
Introduction
👉 we can divide a large program into the basic building blocks known as function.
👉The function contains the set of programming statements enclosed by {}.
👉A function can be called multiple times to provide reusability and modularity to the C program.
👉The function is also know as procedure or subroutine in other programming languages.
Advantages of function in "C"
👉By using functions, we can avoid rewriting same logic/code again and again in a program.
👉We can call C functions any number of times in a program and from any place in a program.
👉We can track a large C program easily when it is divided into multiple functions.
👉Reusability is the main achievement of C functions.
👉However, Function calling is always a overhead in a C program.
Types of functions
👉Library Functions :- are the functions which are declared in the C header files such as scanf(), printf(), gets(), puts(), ceil(), floor() etc.
👉Function declaration : A function must be declared globally in a c program to tell the compiler about the function name, function parameters, and return type.
Syntax of creating function
Different aspects of function calling
Recursion Function
Join our telegram channel and WhatsApp group to get all the updates.
👍Telegram link :- https://telegram.me/spchavhan
👍WhatsApp link :- https://chat.whatsapp.com/G5kJUnaC1Gg4JpDz4kwEpy









If you have any doubts, Please let me know