PAGETURNER

If they want to quit, do so
    <<<<<< REVIEW CLEANING SUBROUTINE >>>>>>

CLEAN

If they want to quit, do so

BOX

                        REVIEW                       


GO

  Consider three functions:
              File 1                        File 2
        static int x = 5;            int x;
               int y = 7;
        main()                       funct_1() {
        {                               extern int y;
            funct_1();                  x = -8; y = 17;
            funct_2();                  printf("x = %d, y = %d\n", x,y);
        }                            }
        funct_2() {
        {  int y = 5; extern x;
           printf("x = %d, y = %d\n", x,y);
        }
   -----------------------------------------------------------------
   The results produced are:
   a   x = 5, y = -7      b   x = -8, y = 17     c   x = -8, y = 17
       x = -8, y = 17         x = -8, y = -7         x = 5, y = 5
 Select one: 
 That is correct!
 You've got it on the 2nd try.
 You've got it finally!
 Sorry, try again.
 No, try one more time.
 Please review Topic 6:  The Scope of Variables
    

FORGET1

   The correct choice is  c .  Please follow
   the program flow to understand the results produced.
   To produce an executable image run_now, given the source
   files a.c, b.c, and c.c and their corresponding object 
   images a.o, b.o, and c.o, the valid command(s) is/are?

           a   cc -o run_now a.o b.c c.c
           b   cc a.c b.c c.c -o run_now
           c   cc a.o b.c c.o  -o run_now
           c   cc  -o run_now a.o b.o c.o
           e   a and b
           f   a and c
           g   b, c, and d
           h   all of the above
 Select one: 
 That is correct!
 You've got it on the 2nd try.
 You've got it finally!
 Sorry, try again.
 No, try one more time.
 Please review Topic 9:  Program Development Cycle
   

FORGET2

   The correct choice is  c , starting either with the
   source files or the object files or the combination
   of the two, the C compiler is smart enough to know
   which file to compile and which to load only.