This preview shows page 1. Sign up to view the full content.
Unformatted text preview: * returns the number of elements read; * this number is also read from the keyboard int read_array(int *a); /* finds the first negative number in array a. * If such number exists in a, the function returns 1 * and stores its value at address negative. * If such number does not exist, returns 0. */ int find_negative(int *a, int n, int *negative); You dont need to write the read array function; just write the nd negative and main functions. 1...
View Full Document
- Summer '08