282 views
0 votes
0 votes
a << 1 is equivalent to

multiplying a  by 2,

dividing a by 2,

adding 2 to a

none

1 Answer

0 votes
0 votes

The left shift operator equivalent to multiply by 2,and right shift operator equivalent to division by 2.

So option (A) is correct.   

Related questions

0 votes
0 votes
0 answers
1
sushmita asked Dec 3, 2017
1,389 views
static char hello[]='hello'; printf("%s",hello);The output will be same as-puts("hello");puts(hello);printf("%s", "hello");puts("hello\n");Answer is 1,2 and 3.Can anyone ...
1 votes
1 votes
1 answer
2
0 votes
0 votes
1 answer
3
sripo asked Dec 11, 2018
744 views
Is Timothy Williams book good for GATE preparation?