Value returning function

So I was wondering how would you go about returning a value from one function and using it another. Say i have function - int x( int z)(just a random code) and this function just has the user input a value. How can i have the returned value used in my second function, which would just manipulate the value by adding or subtracting?
Last edited on
You just pass it to the second function like anything else.
Topic archived. No new replies allowed.