working on multiple return values in C compiler