c- language.

1. function:-
    it is a concept of modular programming consisting of instructions to carry out the specific task. in general concept the function after executing returns a single value to function called program.
  • Advantage of function:-
     There are following advantages of functions.
1.By using function, we can avoid re-writting, same logic or code again and again in a program.

2.We can call c-functions any number of times in a program and from any place in a program.

3.We can track a large logic c-program easily when, it is divided into multiple function.

4.Reuseablity is the main benifit of function.

function is divided into two sub category:-
1. library function.
2. user defined function.

Comments

Post a Comment