Programming Tutorials

Comment on Tutorial - Using Shift Operators in C By Fazal



Comment Added by : viswanath

Comment Added at : 2013-02-23 14:13:40

Comment on Tutorial : Using Shift Operators in C By Fazal
i need help in writing code for multiplication program in C using bitwise operation : i got for 2,3,4,5 and 8,9 but not able to find for 6th and 7th multiplication: becoz this type logic is working for 6th and 7th table with: "result = (X <<1)+X ;" (while increment the number from 2 to 3 : the table is shifting from 5 to 9 th table. so please help me in this. Thanks in advance.

View Tutorial