HackerRank Variadic functions in C problem solution - TheCScience