C vsprintf()

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>.

vsprintf() Syntax

int vsprintf(char *buf, const char *format, va_list arg_ptr);

C Online Test

« Previous Function Next Function »

Like/Share Us on Facebook 😋