hey guys!
-i have declared a variable called total inside of main
-i want to use total inside of the functions prototypes that are before main
is that possible ?
i tried it and it gives me error
total' : undeclared identifier
any advice?
oh ok thank you very much :)
OP said his variable was inside main
. I believe use of global variables is recommended against where possible.