SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

comp sci paper 2 ALL

» Start this Course
(Practice similar questions for free)
Question:

Why is using global variables not recommended

Author: sazin ali



Answer:

They can be unintentionally overwritten and edited. global variables aren't deleted until the program terminates so they require more memory than local variables which are deleted once the subroutine has been completed


0 / 5  (0 ratings)

1 answer(s) in total

Author

sazin ali
sazin ali