Explain the bit wise operators, C/C++ Programming

Assignment Help:

Explain the Bit Wise Operators?

C language has distinction of supporting special operators recognized as bit wise operators for manipulation of data at bit level. These operators are used shifting from left to right or for testing the bits. Bitwise operators may perhaps not be applied to float and double.

Bitwise Operators

Logical Operators

(unary) bitwise complement

~

 

Bitwise 'and'

&

Bitwise 'exclusive or'

^

Bitwise 'inclusive or'

|

Shift Operators

Left Shift

<< 

 

Right Shift

>> 

Like other operators bitwise operators have rules of associativity and precedence that determine how expressions involved them are evaluated.


Related Discussions:- Explain the bit wise operators

Files, redirection in c++

redirection in c++

Programming Assignment 4, For this program, you are going to modify your pr...

For this program, you are going to modify your previous program (program 3) so that it will now have a menu to see if the user wants to read the input from a file or interactively.

Bulk listing posting for a site like ebay, Project Description: I posted...

Project Description: I posted listings on a site that is like eBay but for video games. I post the similar listing many times daily, but need something that will let me post

I need p2p video streaming, Project Description: P2P media streaming bro...

Project Description: P2P media streaming browser (IE, Chrome, Firefox) plug-in needed that is compatible with Win Xp,7,8 that is Windows Firewall friendly Example like Swarm

Define external storage class - computer programming, Define External Stora...

Define External Storage Class - computer programming? When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern'

Explain nested classes, Nested Classes Many a times, it becomes essenti...

Nested Classes Many a times, it becomes essential to have a class contain properties of two other classes. One way is to explain a class within another - that is a class with m

What is a recursive function, Question 1 Write a program in ‘C' to check w...

Question 1 Write a program in ‘C' to check whether a given number is even or odd Question 2 Explain while and do... while loop with an example Question 3 Write a program

Explain topologies for the network information system, Problem: a) Give...

Problem: a) Give and Illustrate with the help of diagrams, four topologies for the Network Information System (NIS). b) Give methods for creating user accounts and groups.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd