What are global variables? How are these variables declared, and what are the problems associated with them?

Technical