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

What does the && operator do in a program code?

0 Answers  


a program that can input number of records and can view it again the record

0 Answers   Accenture,


write a prgram of swapping with 2 valiables

6 Answers  


What is header file definition?

0 Answers  


what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }

9 Answers  






how 2 compile & execute c program with out using editor?

2 Answers   HP,


12345 1234 123 12 1

2 Answers  


WHAT IS HIGH LEVEL LANGUAGE?

2 Answers  


Write a program to check prime number in c programming?

0 Answers  


What is the c value paradox and how is it explained?

0 Answers  


Is c still used in 2019?

1 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,


Categories