I'm coding an inventory program in C
and I need the variable "stock1" in more than two seperate functions
I'm not sure as to how they're supposed to be manipulated and read by the seperate functions
nor do I understand how to declare them
If I declare them as global variables then I'm almost certain that
they won't be manipulated by the seperate functions.
Anyway I can declare them so that I can change the values IN the separate functions?
(is it the use of a pointer?)