✏️ Explanatory Question

What are global variables and how do you declare them?

👁 986 Views
📘 Detailed Answer
💡

Answer with Explanation

Global variables are variables that can be accessed and manipulated anywhere in the program. To make a variable global, place the variable declaration on the upper portion of the program, just after the preprocessor directives section.