Which of the following is true about this statement:

```
sum += *array++;
```

a. This statement is illegal in C++.
b. This statement will cause a compiler error.
c. This statement assigns the dereferenced pointer's value, then increments the pointer's address.
d. This statement increments the dereferenced pointer's value by one, then assign that value.
e. None of these


c. This statement assigns the dereferenced pointer's value, then increments the pointer's address.

Computer Science & Information Technology

You might also like to view...

What will be the value of x after the following statements are executed?

``` int x = 10; for (int y = 5; y < 20; y +=5) x += y; ``` a. 25 b. 30 c. 50 d. 40

Computer Science & Information Technology

An enumeration type

a. is type whose values are defined by a list of constants of type int. b. is a type separate from any of the integer types c. can be converted to integer types d. is a type that a programmer should avoid doing arithmetic with.

Computer Science & Information Technology

The Notes pane is an area of the ________ that displays below the ________

A) Presenter view; Comments pane B) Presenter view; Slide pane C) Normal view; Status bar D) Normal view; Slide pane

Computer Science & Information Technology

The combination of typeface and type style is called a ________

A) property B) template C) font D) theme

Computer Science & Information Technology