The CIDR notation like '/24' denotes the no of 1's in the subnet mask. If the subnet mask is 255.255.0.0 then the notation would be '/16' and similar to this subnet masks vary.
CIDR notation like /24 signifies the subnet mask's binary representation. In this example, /24 corresponds to the binary subnet mask 11111111.11111111.11111111.00000000. The number following the slash denotes the length of the network prefix, indicating the number of bits set to 1 in the subnet mask. In /24, the first 24 bits are set to 1, defining the network portion of the IP address. The correlation between CIDR notation and binary subnet masks provides a concise way to communicate details about the size and arrangement of a network.