This document contains a pre-test over pointers and related topics from Chapter 7 of Deitel and Deitel's C book. It includes 56 multiple choice questions testing pointer definitions, initialization, operators, passing by reference, const qualifiers, arrays of pointers, pointer arithmetic, and secure C programming practices. The questions cover basic pointer concepts as well as more advanced topics like function prototypes, NULL pointers, and preventing attacks.
This document contains a pre-test over pointers and related topics from Chapter 7 of Deitel and Deitel's C book. It includes 56 multiple choice questions testing pointer definitions, initialization, operators, passing by reference, const qualifiers, arrays of pointers, pointer arithmetic, and secure C programming practices. The questions cover basic pointer concepts as well as more advanced topics like function prototypes, NULL pointers, and preventing attacks.
This document contains a pre-test over pointers and related topics from Chapter 7 of Deitel and Deitel's C book. It includes 56 multiple choice questions testing pointer definitions, initialization, operators, passing by reference, const qualifiers, arrays of pointers, pointer arithmetic, and secure C programming practices. The questions cover basic pointer concepts as well as more advanced topics like function prototypes, NULL pointers, and preventing attacks.
7.56 Which of the following statements is false? (a) Dereferencing NULL pointers typically causes programs to crash. (b) If a function parameter points to a value that will not be changed by the function, const should be used to indicate that the data is constant. (c) Attackers cannot execute code by dereferencing a NULL pointer. (d) None of the above.