I understand about returning a value from a function but is it possible to return more than 1 value or do you need to use global variables to manage that.
I have a function that produces 4 variables, dayname, date, monthname and year from time_t; when I call that function I want to be able to use all those variables in the calling function but it would appear I can only return 1 variable; hence my question above - using global variables they would be available to the calling function as well as the function producing them.
Or should I take the easy way out and use the called function listing as part of the calling function.
I hope that makes sense! - I'm sure you'll tell me if it doesn't!