Chapter 7: Problem 15
Insert const before any of the following array parameters that can be changed to constant array parameters: void output(double a[], int size); //Precondition: a[0] through a[size - 1] have values. //Postcondition: a[0] through a[size - 1] have been //written out. void drop_odd(int a[], int size); //Precondition: a[0] through a[size - 1] have values. //Postcondition: All odd numbers in a[0] through //a[size - 1] have been changed to 0.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.