Question: C Code Specification of Functions [Part A] Write a function named Replace with the following specifications: 1. An argument of an array of integer values
![C Code Specification of Functions [Part A] Write a function named](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f450c98433e_49766f450c908acb.jpg)
C Code Specification of Functions [Part A] Write a function named "Replace" with the following specifications: 1. An argument of an array of integer values referred to as ZArray 2. An argument of an integer Size that indicates the number of elements of ZArray 3. No return value The function scans each position of the ZArrayll and replaces all 0 values with-1. For example, f the arry passed to the function looks lke this: Example 0: ZArray: Index position: 0 1 2 ZArray values 21 01 11 The changed array will be: 2-1 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
