@hem chandra joshi ji
fourth octet (in decimal) of the last IP address of the network means
__ __ __ __ __ __ __ __($1^{st}$ octet) . __ __ __ __ __ __ __ __($2^{nd}$ octet) . __ __ __ __ __ __ __ __ ($3^{rd}$ octet). X X X X X X X X ($4^{th}$ octet)
The below image explains why 158 should be answer.
As last and first value cant be used to assign to a host
we always assign $2^{hid}$-2
64.3k questions
77.9k answers
244k comments
80.0k users