Is it better to bitshift a value than to multiply by 2? Ans. Any decent optimizing compiler will generate the same code no matter which way you write it. Use whichever form is more readable in the context in which it appears. The following program's assembler code can be viewed with a tool such as ...
See moreDownload the Study24x7 App, so you can connect and collaborate.