Home »
MCQs »
Perl Programming MCQs
The result of the following operation is –
33. The result of the following operation is -
100 << 3
- 001
- 300
- 800
- Error
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.