0
C
What’s fhe different between a global declaration and a local declaration ?
1 Odpowiedź
+ 4
Erica
Local variables are the variables which are declared or defined within the declaration part of the function block.
Global variables are the variables which are declared or defined below the header files inclusion section or before the main () function.
https://www.includehelp.com/c/difference-between-local-and-global-variables-in-c.aspx
This link will help you understand better with examples.