HCLTech interview question

Find if number in array is odd or even