Saturday, October 27, 2018

What is Functions Concepts in c Programming Language?

1. WHAT IS C FUNCTION?

          A large C program is divided into basic building blocks called C function. C function contains set of instructions enclosed by “{  }” which performs specific operation in a C program. Actually, Collection of these functions creates a C program.
2. USES OF C FUNCTIONS:

·     C functions are used to avoid rewriting same logic/code again and again in a program.

·  There is no limit in calling C functions to make use of same functionality wherever required.

·         We can call functions any number of times in a program and from any place in a program.

·    A large C program can easily be tracked when it is divided into functions.

·    The core concept of C functions are, re-usability, dividing a big task into small pieces to achieve the functionality and to improve understandability of very large C programs.


No comments:

Post a Comment

Which Python course is best for beginners?

Level Up Your Python Prowess: Newbie Ninjas: Don't fret, little grasshoppers! Courses like "Learn Python 3" on Codecade...