I'm very new to networking and was wondering if anyone could explain what the answer is / how you got it.


Question:

Three computers have the following IPv4 address:
PC1: 192.168.42.1
PC2: 192.168.42.24
PC3: 192.168.43.1

Which subnet mask should you use for these computers to ensure that they would all belong to the same network?
A
255.255.254.0
B
255.255.255.0
C
255.255.255.128
D
255.255.255.192