An open API service indexing awesome lists of open source software.

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

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.