A decoder has four input lines. How many output lines will be there?A.4B.8C.16D.32Show answerAnswer: C. 16A decoder with n inputs has 2^n outputs, so 2^4 = 16.