Question: programming language is C. Show how the following multiplcations can be achieved with only additions, substractions and shifts. { int mult_5 (int x) return x

programming language is C.
Show how the following multiplcations can be achieved with only additions, substractions and shifts. { int mult_5 (int x) return x * 5; } { int mult_9(int x) return x * 9; } { int mult_14 (int x) return x * 14; } { int mult_n56 (int x) return x * (-56); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
