wozniak@utkux1.utk.edu (Bryon Lape) (10/24/89)
I have 2 questions concerning function definitions: How does one write a function so that some, not all, or the items passed can be any type of variable at any time? How does one write a function so that any number of variables can be sent? Any example of the first question is a generic swap(). I know that pointers to void type are used in some way, but I do not know how. An example of the second is the printf() where the passed string will determine the other passed variables. This one is most likely taken care of at compile time, but I am talking run time. -bryon-