Login  |  Register

Function in C programming language, advanteges & its type with example

Learn how to define a function, how to declare a function, how to call function & its types & advantage of function in c programming language. Many times your program may have some such statements that require you to execute the compiler again and again. In such a situation, it may take a lot of time to write these statements over and over again. Additionally, the program becomes very big, which makes it difficult to read and understand. To avoid this situation, C provides a mechanism that is called a function. Any statement that you want to execute many places in the program repeatedly writes them in a block and gives this block a unique name.