return multiple values from a function in c