I thought that the function removes the parameters from the stack after it's done, but a function like printf removes a variable number of parameters from the stack when it's called.
How does it know how many parameters to remove from the stack? Is there a secret argument to specify how many arguments are passed?
Thanks