Uncertain parameters in C
Hello everyone,
I want to know is how to achieve the C language printf function parameter uncertainty principle(Of course, we do not use the system-supplied "stdarg.h" header file).
The following is "printf" function prototype:
_CRTIMP int __cdecl printf(const char *, ...);
I do not think it uses a function overloading methods,As you know, when users use printf parameters are uncertain (Such as, order uncertain parameter types, the numbers of parameters uncertain and so on).I try to guess it may be using the stack.
Regards,
Ken
Thank for you.