We can find N/W Address and B/C Address from any below information available.
How to find Network Address and Broadcast Address from prefix / Subnet Mask / Wilcard Mask?
We will find Network Address and Broadcast Address for IP address 192.168.0.0 and prefix /23.
For prefix /23, Subnet Mask is 255.255.254.0 and Wildcard Mask is 0.0.1.255
NW = IP AND SM
BC = IP OR ~SM or BC = IP OR WM
To find Network Address, do Bitwise AND operation between IP address and Subnet Mask.
To find we need to do Bitwise OR between IP Address and Wildcard Mask. Wildcard Mask is inverted Subnet Mask.
Hence, Network Address is 192.168.0.0 and Broadcast Address is 192.168.1.255