38 Computer -- Modular Programming

Define local and global variable?

Define local and global variable?

A variable which is defined in a module and is not accessible to any other modules is known as local variable.

A variable which is defined in main module and can be accessed from any procedure of the program is known as global variable.

More questions on Modular Programming

Close Open App