The following image briefly explains about the major differences between local & global variables in C