Assuming that arr is an array identifier, the statement sum += *arr;

A) is illegal in C++.
B) will always result in a compiler error.
C) adds the value stored in arr[0] to sum.
D) adds the address of the pointer arr to sum.
E) None of the above

C) adds the value stored in arr[0] to sum.

Computer Science & Information Technology

You might also like to view...

The syntax of the length property is ____.

A. string.Length B. Length(string) C. Length.string D. string.Len

Computer Science & Information Technology

An average is computed by dividing the final total or accumulated value by the number of items that were added.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology