How To “Return” More Than One Value From A Function | C Programming Example
9.9K views on YouTube
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-example-code/blob/main/return_more_than_one.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!
See also:
** Pointers tutorial video: https://www.youtube.com/watch?v=2GDiXG5RfNE
** Pass-By-Reference tutorial video: https://www.youtube.com/watch?v=RecxQUUEOn4