Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the difference between local and global namespaces?
Answer:
  • Local namespaces are created within a function when that function is called.
  • Global namespaces are created when the program starts.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook