C language is a general-purpose, procedural computer programming language. In 1972, Dennis Ritchie designed and developed the C language at Bell Telephone Laboratories in order to port and develop the UNIX operating system.

The C language is a widely used computer language that is as popular as the Java programming language, and both are widely used among modern software programmers.

C function syntax

A function is a group of statements that together perform a task. Every C program has at least one function, the main function main(), and all simple programs can define other additional functions.

You can divide your code into different functions. How you divide your code into different functions is up to you, but logically the division is usually based on each function performing a specific task.

A function declaration tells the compiler the function's name, return type, and parameters. The function definition provides the actual body of the function.

C function example

return_type function_name( parameter list ){
   body of the function
   }