Source |
CodingSec |
Identifiant |
176163 |
Date de publication |
2016-10-07 17:00:57 (vue: 2016-10-07 17:00:57) |
Titre |
What is function prototype in programming languages |
Texte |
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
|
Envoyé |
Oui |
Condensat |
above accepts always any appeared are asâ void block body caller coding compiler consists declaration definition does first follows: function general how implementation its known languages many must name not optional parameters post programming prototype return returns security specified syntax tells those type types typeâ value what when … |
Tags |
|
Stories |
|
Notes |
|
Move |
|