@BASANT KUMAR
the 2's complement of +ve number is the number itself.
B=011110 which is +ve number so B value should be 29 not 35(2's complement is done for negative nos)
correct me if m wrong??
64.3k questions
77.9k answers
244k comments
80.0k users