number of bits altered to swap

find the number of bits needed to be altered in order to swap two numbers(integers).
ex:- a=15,b=7
swap it such that b=15

Comments

Post a Comment

Popular posts from this blog