Question: If char variable a 1 has the value 0 x 0 3 and char variable a 2 has the value 0 b 0 0 0

If char variable a1 has the value 0x03 and char variable a2 has the value 0b00000010, what will be in variable a2 after this line of code has executed?
a2= a1<< a2;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!