Attempt the question, check the explanation, and continue with similar questions to build confidence before exams.
Local variables are accessible only inside their function
Global variables can be accessed anywhere in the program
Local variables can be accessed from any function
Global variables can be modified by declaring them as global
Video Explanation
Watch Video Solution
Login to get access
Continue with nearby questions to strengthen the same chapter concept while you still have the context fresh in mind.