______________ is used to write formatted output with variable argument lists

Options
- vfprintf
- vsprintf
- vprintf
- all of above


CORRECT ANSWER : all of above

Discussion Board
Explanation-

All the options i.e vfprintf,vsprintf and vprintf formatted output with variable argument list.

Syntax: int vfprintf(FILE *stream, const char *format, va_list arg)
int vsprintf(char *str, const char *format, va_list arg)
int vprintf(const char *format, va_list arg)

Sapna 02-19-2017 10:43 PM

vsprintf()

- int vsprintf(char *str, const char *format, va_list arg) sends formatted output to a string using an argument list passed to it.



Aparna 07-5-2013 05:33 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement