<<<<<< REVIEW CLEANING SUBROUTINE >>>>>>

BOX

                         REVIEW                       


GO


 Given the declarations and assignments:

        int x1, x2 = 15, *x_ptr;

   Which statement is LEGAL?

           a   x1 = &x2;
           b   x2 = *x1;
           c   x_ptr = &x2;
           d   x_ptr = x2;
 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 3:  Performing Pointer Operations

FORGET1

   The correct answer is  c .  Choices
   a, b, and d equate variables of unequal types.
 Given two arguments:

   char v1[], *v2; and
   a variable char v3;

 Which operation is INCORRECT ?

 a   v3 = v2[14];
 b   v2 = v1;
 c   v2 = v3;
 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 7:  How Pointers Relate to Character Strings

FORGET2

   The correct answer is  c .  Note that v2 is a 
   a pointer variable to a char, while v3 is variable of type char!
 Which of the following statements is TRUE?

 a   All pointer variables require the same amount of memory.
 b   An array name is treated as a variable.
 c   An internal array of pointers may be initialized.
 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 5:  Using Arrays and Pointers

FORGET3

   The correct answer is  a .  An array name is treated 
   as a pointer.  Only external arrays may be initialized.