How is b=10 at 8:20.
Using Operators
@yajurkhurana, b was initialized with value 5,
i.e b=5, the we applied left shift operator on b , which will shift the bits to the left
so binary representation of 5 is 00101 and after left shift it will become 01010 =8+2 =10
if you are facing problems in shift operator refer this discussion i have explained in detail :-
Left shift and right shift operator