Welcome to Westonci.ca, where curiosity meets expertise. Ask any question and receive fast, accurate answers from our knowledgeable community. Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.
Sagot :
The difference is: C. global variables are permanent and can be used anywhere in your code; local variables are temporary and can only be used where it was created.
What is a variable?
A variable simply refers to the specific name which points to a location in computer memory, and it's typically used for storing a value such as an integer.
In Computer technology, there are two main types of variables and these include the following:
- Global variables
- Local variables
Basically, a difference between local and global variables is that global variables are permanent and can be used anywhere in your code while local variables are temporary and can only be used where it was created.
Read more on global variables here: https://brainly.com/question/15876187
#SPJ1
Your visit means a lot to us. Don't hesitate to return for more reliable answers to any questions you may have. Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. We're glad you visited Westonci.ca. Return anytime for updated answers from our knowledgeable team.