Do you know what are bitwise shift operators in c programming?



Do you know what are bitwise shift operators in c programming?..

Answer / Son Dev Jatav

Bitwise shift operators (<< and >>) in C programming move the bits of an integer value left or right by a specified number of positions. Left-shift operator (<<) shifts bits to the left, while the right-shift operator (>>) shifts bits to the right.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is infinite loop?

1 Answers  


Why c is called a middle level language?

1 Answers  


main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }

1 Answers   Accenture, Vector,


How does memset() work in C?

2 Answers  


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

1 Answers  


How pointer is different from array?

1 Answers  


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1 Answers  


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

1 Answers  


What does the file stdio.h contain?

1 Answers  


what are brk, sbrk?

1 Answers   Oracle,


Explain what is gets() function?

1 Answers  


What are types of structure?

1 Answers  


Categories