https://github.com/gozeloglu/variadic-function
Implementation of variadic function in C-language
https://github.com/gozeloglu/variadic-function
Last synced: over 1 year ago
JSON representation
Implementation of variadic function in C-language
- Host: GitHub
- URL: https://github.com/gozeloglu/variadic-function
- Owner: gozeloglu
- Created: 2018-09-08T10:56:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T09:04:57.000Z (over 7 years ago)
- Last Synced: 2025-01-04T20:16:39.690Z (over 1 year ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Variadic-Function
Implementation of variadic function in C-language
## Explanation
Variadic function takes indefinite size arity and a variable number of arguments as a parameter. Situations that you do not know how many parameters pass the function, variadic functions are really good choose.
### Run
`gcc variadic.c`
`./a.out`
#### Output
The program produces two different outputs. Firstly calls the sender functions to send parameter to variadic function. So that, the program produces random numbers to calculating operations. After produced the random numbers, summation, finding max and min operations are done with variadic functions. The random numbers and results are shown in output.