Question 25 Weight 25 N Quality Code Note Unreasonable Complete Cfunction Describe Marks Q30546308

Question 25: Weight 25 n for the quality of your code note that unreasonable Complete the Cfunction describe below. Some marks will be give (ie, dealing with possible error conditions). List all assumptions; assumptions will be penalized. (Note that the input parameter must not be modified solution.) by your * shrink array input: *int *a: an existing array of integers, where the last element is indicated by a negative value. The contents of this array must not be overwritten. purpose: each positive, non-zero value in all is copied into bu example: if a0 (3, 0, 4, 0, s, 31, -13 then the value returned by shrink array is some integer array of the value (3, 4, 5, 31, -1) int shrink arrayCint a)

need help with this question

Question 25: Weight 25 n for the quality of your code note that unreasonable Complete the Cfunction describe below. Some marks will be give (ie, dealing with possible error conditions). List all assumptions; assumptions will be penalized. (Note that the input parameter must not be modified solution.) by your * shrink array input: *int *a: an existing array of integers, where the last element is indicated by a negative value. The contents of this array must not be overwritten. purpose: each positive, non-zero value in all is copied into bu example: if a0 (3, 0, 4, 0, s, 31, -13 then the value returned by shrink array is some integer array of the value (3, 4, 5, 31, -1) int shrink arrayCint a) Show transcribed image text

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *