Class C can have _______ 1s with the remaining bits 0s A subnet mask in class C can have _______ 1s with the remaining bits 0s.


MyApproach:

Class C subnet is 255.255.255.0.So, accordingly it has 9 1s on first byte,9 1s on second byte and 9 1s on third byte.etcSo total 27 1s but the Ans is 25

@Edit

For 255 it has 8 1s on first byte,8 1s on second and 8 1s  on third.=24 How 25?


  Can anyone guide What I am doing wrong?
Check again your count of how many 1's are in the binary representation of 255.  Beyond that, there's nothing wrong with your reasoning.  The answer "25" is wrong.

Some examples are available in Wikipedia: https://en.wikipedia.org/wiki/Subnetwork