Computer Science, asked by maharkashi, 1 month ago

Global variable are created in​

Answers

Answered by sreyasinharkl
1

hey \: mate

______________________________________

Global variables are created when the program starts, and destroyed when it ends. This is called static duration. Variables with static duration are sometimes called static variables. Unlike local variables, which are uninitialized by default, static variables are zero-initialized by default.

Related information :

Question : Where is a global variable declared?

➣Global variables are defined outside a function, usually on top of the program. Global variables hold their values throughout the lifetime of your program and they can be accessed inside any of the functions defined for the program. A global variable can be accessed by any function.

______________________________________

I hope my answer helps you....

Similar questions
Science, 7 months ago