Top "Function-declaration" questions

the process of describing the type and identifier of a function.

Is it possible to define more than one function per file in MATLAB, and access them from outside that file?

When I was studying for my undergraduate degree in EE, MATLAB required each function to be defined in its own …

matlab function file scope function-declaration
Function declaration in CoffeeScript

I notice that in CoffeeScript, if I define a function using: a = (c) -> c=1 I can only get …

javascript coffeescript jslint function-declaration
Maximum number of parameters in function declaration

I know that minimum number of parameters in function definition is zero, but what is the maximum number of parameters …

c++ c limits function-declaration function-parameter
Can a function prototype typedef be used in function definitions?

I have a series of functions with the same prototype, say int func1(int a, int b) { // ... } int func2(int …

c typedef function-declaration
Why can't I define a function inside another function?

This is not a lambda function question, I know that I can assign a lambda to a variable. What's the …

c++ functor function-declaration
JavaScript function declaration

Are the JavaScript code snippets given below some sort of function declaration? If not can someone please give an overview …

javascript function-declaration
Does C support optional null parameters?

In Python, I'm used to things like def send_command(command, modifier = None): and then the modifier argument is optional, …

c null optional-parameters function-declaration function-parameter
How does ampersand in the return type of a function declaration work?

In this piece of code, why f() is declared as "double & f(..."? What does it mean and how does …

c++ function function-declaration
JavaScript function declaration and evaluation order

Why does the first one of these examples not work, but all the other ones do? // 1 - does not work (…

javascript function-declaration
Function without return type specified in C

I came across this piece of code in C: #include <stdio.h> main( ) { int i = 5; workover(i); printf("%…

c function-declaration