Jumat, 07 Oktober 2016

What is function prototype in programming languages

Function Prototype   A function prototype tells the compiler what is the function name, how many parameters a function accepts and the types of those parameters and the type of value that a function returns to its caller. General syntax of function prototype (declaration) is as follows: return-type  function-name(type, type, …, type);   In the above syntax, parameters are optional. When the function does not return any value, the return type must be specified as void.     Function Definition   The body or implementation of a function is known as function definition. A function definition always consists of a block

The post What is function prototype in programming languages appeared first on Coding Security.


What is function prototype in programming languages
read more

Tidak ada komentar:

Posting Komentar