Two's compliment of -5

Answer Posted / ramprasad g

ans: +5

-5 will be stored as 2's complement of 5
2's complement of -5, is thus 2 times 2's complement of 5.
so the ans is 5 itself.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to use switch statement.

649


What does #pragma once mean?

673


What is c preprocessor mean?

771


Explain spaghetti programming?

674


How do you print only part of a string?

600






a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4527


What is bin sh c?

569


What is a far pointer in c?

584


What does the file stdio.h contain?

595


Subtract Two Number Without Using Subtraction Operator

343


Dont ansi function prototypes render lint obsolete?

592


What is the best organizational structure?

629


What is the value of uninitialized variable in c?

560


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

620


What is page thrashing?

641