Variadic Function Working in C

Variadic Function Working in C

If you've programmed in C, you've likely used functions like printf that accept a variable number of arguments. You might have wondered how this is possible. Well in this article, we will demystify the working of variadic function like printf.

What is Variadic Function?

A variadic function is a function that accepts a variable number of arguments. In C, this is commonly seen with functions like printf and scanf.