Explanation : Fourth octet of network address is 144 i.e.
10010000.
The first three bits of this octal is subnet bit
(100), remaining bits can get maximum value as
11111.
So the maximum possible last octal IP address is
10011111 which is 159.
But the address with all 1s in host part is broadcast
address and can't be assigned to a host. So the
maximum possible host is 158.