global and local variablesglobal variables the


Global and Local Variables

Global variables: The features are as pursue Declared outside of all functions or before main. These can be used in all the functions in the program. It require not be declared in other functions. A global variable is also called as an external variable. 

Local variables: The features are as follows declared inside a function where it is to be used. These are not called to other function in the program.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: global and local variablesglobal variables the
Reference No:- TGS0275352

Expected delivery within 24 Hours