Description
Discuss, in detail, why C++ does not allow aggregate operations on arrays. Also, since aggregate operations are not allowed, how do we process the elements of arrays? Provide an example to illustrate.
Explanation & Answer
Attached.
W7 Discussion: Restrictions on Array Processing
First of all, an aggregate operation manipulates an array as an entire unit. Therefore,
the operation is done as a whole rather than performed on an individual element. ...