Christmas and Halloween riddle


Why do computer programmers always get Christmas and Halloween mixed up?

Add Comment

  • 1 Answer(s)

    Because oct 31 = dec 25

    For those who don’t understand the joke:
    oct is an abbreviation of octal, and octal means a number with base 8.
    oct 31 = 3*8 + 1 = 25

    dec is an abbreviation of decimal, and decimal means a number with base 10.
    This is the normal way to write numbers.
    dec 25 = 2*10 + 5 = 25

    You can try it out here:

    CugelTheWise Expert Answered on 14th November 2018.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.
  • More puzzles to try-