/* scopedemo.c: play with different scoping, demo with gdb mh75, 2023 Can compile with -g and use info variables to see globals Can ucomment printing material and run to see behavior */ //#include #define COUNT 10 // preprocessor int scaling = 0; // global variable void runningcount (int toadd) { static int total = 0; // static local total += toadd*scaling; //printf ("In running count, total=%d\n", total); } int main () { int i = 0; // local for (;i