Exam 9: Pointers

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What does the following statement do? Double *num2;

(Multiple Choice)
5.0/5
(31)

Assuming ptr is a pointer variable, what will the following statement output? Cout << *ptr;

(Multiple Choice)
4.8/5
(34)

The ampersand (&) is used to dereference a pointer variable in C++.

(True/False)
4.9/5
(34)

Which of the following is true about this statement: Sum += *array++;

(Multiple Choice)
4.9/5
(44)

Which of the following statements displays the address of the variable numb?

(Multiple Choice)
4.8/5
(34)

A pointer variable may be initialized with

(Multiple Choice)
4.8/5
(27)

If you are using an older computer that does not support the C++11 standard, you should initialize pointers with

(Multiple Choice)
4.8/5
(39)
Showing 41 - 47 of 47
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)