Jumat, 16 Oktober 2015

Function, Arguments/Parameter in C

Hello readers!

i want to show you about Function and Arguments/Parameter in C.

Function: a code for do some task and the codes will be run if the name is called.

Benefits of a Function:

  • More efficient
  • More flexible
  • Makes the code more simple
Without function, the codes for some task must be written repeatedly if it needed. So, it will not efficient.

I will give you an example (you can see the pict):




Parameter: to give the input for the function.

That's the Function, Arguments/Parameter in C. Hope this will help you. Thanks! :D

Tidak ada komentar:

Posting Komentar