Retrieving a value from a void function.

From: Don (donald_bf_at_yahoo.com)
Date: 03/30/05


Date: 29 Mar 2005 19:11:51 -0800

I am a beginner in C. A student I should say. Is it possible to
retrieve a value from a void function? A have a void function that
reads a string or number from a file. I call that function from main
and want to set char* x or int x equal to what is read. How does that
work?
Thank you