The general expression (*pointer).member can always be replaced with the notation ____.

A. pointer*
B. pointer&
C. pointer->member
D. &pointer


Answer: C

Computer Science & Information Technology

You might also like to view...

For any nonzero 8-bit x, which of the following does not result in zero?

a. x &= (~x) b. x ^= x c. x <<= 8 d. x |= x

Computer Science & Information Technology

What is the incorrect action and why does it occur?

Specification: Check to see if the user’s input is 1, 2, or 3. Write out the numeric word (such as ONE) if it is within range; otherwise, write OUT OF RANGE. ``` #include using namespace std; int main() { int user_input; cout << “\nEnter an integer.”; cin >> user_input; switch(user_input) { case 1: cout << “\nONE”; case 2: cout << “\nTWO”; case 3: cout << “\nTHREE”; default: cout << “OUT OF RANGE”; } return 0; } ```

Computer Science & Information Technology

Compute the diagonal distance between opposite corners of a 2-foot by 1-foot rectangle.

What will be an ideal response?

Computer Science & Information Technology

Which of the following should be included as part of TCO? (Choose all that apply.)

A. hardware costs B. software costs C. labor costs D. travel costs

Computer Science & Information Technology