look up va_list for more on how to handle variable number of parametersCode:int max (int num_para, ... ) { // Stuff to do the compares for each item return the_value_of_the_max_item; }
look up va_list for more on how to handle variable number of parametersCode:int max (int num_para, ... ) { // Stuff to do the compares for each item return the_value_of_the_max_item; }