Question DSA-BIT-0004
EasyWhat is 1 << 4?
- A.
8
- B.
4
- C.
Show answer and explanation
Answer: D
Shifting left by 4 multiplies by 2⁴ = 16.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Bit Manipulation question
What is 1 << 4?
8
4
Answer: D
Shifting left by 4 multiplies by 2⁴ = 16.
5
16