Get the most out of your questions with IDNLearn.com's extensive resources. Our platform provides trustworthy answers to help you make informed decisions quickly and easily.
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
We appreciate your participation in this forum. Keep exploring, asking questions, and sharing your insights with the community. Together, we can find the best solutions. Your questions deserve reliable answers. Thanks for visiting IDNLearn.com, and see you again soon for more helpful information.