Q. The result of the following operation is

Code:
100 << 3
  • (A) 001
  • (B) 300
  • (C) 800
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 800
Explanation: The "<<" is a binary left shift operator, if left shifts the bits of the first operand, the second operand decides the number of places to shift.
Explanation by: Team MCQ Buddy
The "<<" is a binary left shift operator, if left shifts the bits of the first operand, the second operand decides the number of places to shift.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
185
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
84%
Success Rate