Question: Write a function void print int_vector(int *ptr, int length) that prints the values in the vector of integers indicated by ptr of length length to

Write a function void print int_vector(int *ptr, int length) that prints the values in the vector of integers indicated by ptr of length length to the standard output. A vector is a 1-dimensional array. For example, the following C statement declares an integer vector of 10 elements: int aVector [10]; Each integer should be printed as a decimal number, one entry per line You should not provide the main0 function-only implement the print_int vector function as described above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
