C Program to count trailing zeros using bitwise operator
[crayon-5f682902452dd740063808/] Output: [crayon-5f682902452eb366221872/] lets run this program one more time - [crayon-5f682902452f1055633553/]
[crayon-5f682902452dd740063808/] Output: [crayon-5f682902452eb366221872/] lets run this program one more time - [crayon-5f682902452f1055633553/]
[crayon-5f68290246245043520718/] Output: [crayon-5f68290246250500892961/]
[crayon-5f682902467f1981924887/] Output: [crayon-5f682902467fc004615608/]
[crayon-5f68290246ddd694176398/] Output : [crayon-5f68290246de8778797129/]
Generally Swaping two number requires three variables , Let's Take look at Procedure of swaping two Number For Swaping Two numbers following procedure is used - [crayon-5f682902473e7169363988/] Now we will Explaining above three statements using example .... Let x = 12 and y = 9 [ For our sake and simplicity consider number is of 4 bits ] [crayon-5f682902473f6885274076/]X-OR Table : A B A X-OR B1 1 01 0 10 1 10 0 0Step 1 : After : x = x ^ y [crayon-5f682902473fe172101465/] Step 2 : After y = y [...]