The vsprintf() function is functionally equivalent to the sprintf() function except that the arguments list has been replaced by a pointer to list of arguments. This pointer must be of the type va_list. The va_list is defined in the header <stdarg.h>.
#include<stdio.h> #include<stdarg.h> int vsprintf(char *buf, const char *format, va_list arg_ptr);
© Copyright 2021. All Rights Reserved.