This is a discussion on Even or Odd (practice problem) within the C Programming forums, part of the General Programming Boards category; Originally Posted by homer_3 Your logic is wrong. If you passed in odd(2), 2!=1 so odd() would call even(2-1), 1!=0 ...