title: Calculation of the number of hosts per subnet in Class B network
body: <p>If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?
  (A) 1022
  (B) 1023
  (C) 2046
  (D) 2047</p>
  
  <p>Can anybody pls tell me the logic of how this problem can be solved?</p>