Example of how to "return" more than one value from a function in C, using pass-by-reference (i.e. pass-by-pointer). Source code: https://github.com/portfoliocourses/c.... Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!
See also:
** Pointers tutorial video: • Introduction to Pointers | C Programming T...
** Pass-By-Reference tutorial video: • Pass By Reference | C Programming Tutorial