I was going through this program that used printf function when I realized that it (printf) could take unlimited number of arguments. Using overloading we can specify different number of values to be passed, but how does overlaoding happen in printf function (as we cannot define it unlimited number of times)?
Stop cross-posting. Read the reply in the C board. Pick one forum and stick with it there.
It uses a way of passing values and the number so the function knows how many to take. Read this example for an explination and implimentation. Click Here
... talking continues over here .
Please don't start the same thread in two forums.