Question DSA-BIT-0026
EasyWhich expression multiplies an integer n by 8?
- A.
n << 3
- B.
n ^ 8
- C.
n << 8
- D.
n >> 3
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Bit Manipulation question
Which expression multiplies an integer n by 8?
n << 3
n ^ 8
n << 8
n >> 3
Sign up free to see the answer and a step-by-step explanation.