Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

5. In the statement q = *ptr_m; Which statement below is the most accurate? A. T

ID: 3826504 • Letter: 5

Question

5. In the statement q = *ptr_m;

      Which statement below is the most accurate?

      A. The address of the pointer ptr_m is being assigned to the variable q.

B. The value of the pointer ptr_m is being assigned to the variable q.

C. The value of the variable ptr_m is pointing to is being assigned to the variable q.

D. The variable q must also be a pointer.

10. How many bytes of memory are reserved for a double pointer variable?

      A. The same number of bytes as is reserved for a double variable.

B. The number of bytes reserved is the number that are reserved for any hex address.

      C. It is impossible to know this answer.

      D. Two bytes.

12. How much memory is reserved for the following variables

         in MS Visual C++?

             int k;

             int *k_ptr;

             float q, *q_ptr;

         A. 10

B. 13

         C. 16

         D. 18

Explanation / Answer

5) C. The value of the variable ptr_m is pointing to is being assigned to the variable q.

10) A. The same number of bytes as is reserved for a double variable.

12) C. 16

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote