What are global variables and how do you declare them?

4 years ago
C Programming

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.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions