Can someone explain why this outputs garbage values?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 9 12:24:17 PST 2014


Also, the reason why the special function is needed is that the 
argptr is just a pointer to the arguments. If you pass that to 
printf, how does it know that there's varargs on the other end 
instead of just being another pointer whose numeric value it is 
supposed to print out?


More information about the Digitalmars-d-learn mailing list