I have read that global variables are those that we declare out of all functions using #define
and that way they could be used by all the functions of a program. However, I was informed that the variables declared in main
are global. I'm pretty sure this is false, since the variables we declare on main can only be used by other functions if we pass them by parameter.