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