codescracker


c

C vsprintf()



« Previous Function Next Function »


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

#include<stdio.h>
#include<stdarg.h>
int vsprintf(char *buf, const char *format, va_list arg_ptr);

« Previous Function Next Function »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test