Implement a function that has the prototype:
char* to_string(int count, double first, ...);
The function should return a string that contains string representations of the second and subsequent arguments, each to two decimal places and separated by commas. The first argument is a count of the number of arguments that follow. Write a suitable version of
main() to demonstrate the operation of your function.
La solución que propongo es:
Y con funciones: