K&R-style function declaration:
void foo(n)
int n;
{
}
If type isn’t specified, it defaults to int. This is valid in C89, not C99
More Related Contents:
- Procedure to include own functions to ANSI C Standard library
- How do I modify a pointer that has been passed into a function in C?
- Default argument promotions in C function calls
- C Programming: malloc() inside another function
- Difference between passing array and array pointer into function in C
- Effects of the extern keyword on C functions
- Override a function call in C
- Difference between void main and int main in C/C++? [duplicate]
- Returning a pointer to an automatic variable
- Implement generic swap macro in C [duplicate]
- Parameter Passing in C – Pointers, Addresses, Aliases
- Passing struct to function
- C – allocating a matrix in a function
- Function Returning Itself
- Function with unknown number of parameters in C
- Strange warning in a C function const multidimensional-array argument
- Is it legal to use the increment operator in a C++ function call?
- How is the result struct of localtime allocated in C?
- in c: func(void) vs. func() [duplicate]
- Bitshift and integer promotion?
- How to use the rand function to make numbers in a specific range?
- List of platforms supported by the C standard
- Avoiding the main (entry point) in a C program
- Difference between scanf() and strtol() / strtod() in parsing numbers
- How can I create C header files [closed]
- Can a “container_of” macro ever be strictly-conforming?
- Pass by reference in C
- Need for prefixing a function with (void)
- How sqrt() of GCC works after compiled? Which method of root is used? Newton-Raphson?
- Integer overflow in C: standards and compilers