Question: Use a bitwise operator to check if a number is positive or negative and use bit operator to print the binary bits of a negative

  1. Use a bitwise operator to check if a number is positive or negative and use bit operator to print the binary bits of a negative number say -100. Write a C code for that.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!