ProgrammingHard

The number of subsets of a 4-element set with an even number of elements is what?

  1. A. 4
  2. B. 8
  3. C. 16
  4. D. 6

Correct answer: B. 8

The even-size subsets are C(4,0) + C(4,2) + C(4,4) = 1 + 6 + 1 = 8.

More C Programming questions

Exams that ask this topic