C Programming Functions
C Programming Functions A function is a block of code that performs a specific task. Suppose, a program related to graphics needs to create a circle and color it depending upon the radius and color from the user. You can create two functions to solve this problem: create a circle function color function Dividing complex problem into small components makes program easy to understand and use. Types of function Depending on whether a function is defined by the user or already included in C compilers, there are two types of functions in C programming There are two types of function in C programming: Standard library functions User defined functions Standard library functions The standard library functions are built-in functions in C programming to handle tasks such as mathematical computations, I/O processing, string handling etc. These functions are defined in the header file. When you include the header file, these functions are available for use. For examp
Comments
Post a Comment