Write a function that takes an int array as an input and finds the first and second odd numbers. You should find location of these, too. Your function should return all output in function arguments via pointers.
Write a main function that reads 10 integers from the user. Store the values in an array and send to the function described above. Take all output from the function and display in main.
Example:
If the user enters:
47 0 37 -67 2 85 1 84 3 12
The output should be:
First odd integer is 47
Its location is 0
Second odd integer is 37
Its location is 2
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here