Example of use of variable arguments in C