Thoughtworks interview question

write C program to find average of odd numbers in an array ?