Рет қаралды 15,613
How to return a string from a function using C. Methods covered include returning a pointer to a string literal, using pass by reference (i.e. pass by pointer) to effectively "return" a string, and returning a pointer to a dynamically allocated string. Source code: github.com/portfoliocourses/c.... Check out www.portfoliocourses.com to build a portfolio that will impress employers!