a<<1 is equivalent to
a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the
above

Answers were Sorted based on User's Feedback



a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above..

Answer / sindhu

multiplying by 2
a*2^1

Is This Answer Correct ?    38 Yes 10 No

a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above..

Answer / dev

left shift by 1 so the ans would be none of this..... it is
complementing

Is This Answer Correct ?    8 Yes 15 No

Post New Answer

More C Interview Questions

How can you find the exact size of a data type in c?

0 Answers  


main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(ā€œ%dā€,x); }

8 Answers   Vector,


Is c call by value?

0 Answers  


What is a global variable in c?

0 Answers  


what is difference between null and nul in c language

2 Answers  






What is a volatile keyword in c?

0 Answers  


what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>

5 Answers   TCS,


what is the role you expect in software industry?

0 Answers   HCL,


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

0 Answers   TCS,


What is sizeof return in c?

0 Answers  


How do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

7 Answers   Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,


Categories