Suppose I have a program that is broken down into several functions. We will call these functions main(), a(), b(), c(), and
These functions all call each other in order. Without returning a
value through each of these functions, how could I get data
stored in d() to a()? A pointer? Something else?
I am asking because I have been writing a program lately, and I have been trying to use return to get all of the values to the first function. Makes me feel like I'm going around the world to get to my neighbors house.
Thanks in advance.