Insert const before .any of the following array parameters that can be changed to const.
```
void output(double a[], int size);
//Pre: a[0] through a[size-1] have values set.
//Post: a[0] through a[size-1] have been displayed on the
screen.
void dropOdd(int a[], int size);
//Pre: a[0] through a[size-1] have values set.
//Post: All odd numbers in a[0] through a[size-1] have
//been changed to 0.
```
```
void output(const double a[], int size);
```
Explanation: Only the output function can have its array parameter changed to
const:
It does nothing for the client to make a value parameter const, and this can annoy the
programmer. (She cannot assign the parameter as is sometimes needed.) The
dropOdd function postcondition asserts that dropOdd will change its array
argument, so we cannot make that array const.
You might also like to view...
On networks that use TCP/IP, ______ software can detect problems, such as why traffic is flowing slowly.
A. data tracking B. speed monitoring C. information routing D. packet sniffing
Buffer ____________________ occurs when a program attempts to store more data in a temporary storage area (a buffer) than that area can hold.
Fill in the blank(s) with the appropriate word(s).