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

What is union and structure in c?

623


What is the difference between array_name and &array_name?

783


How can I list all of the predefined identifiers?

583


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1124


Can we change the value of static variable in c?

568






What are the advantages of c preprocessor?

715


How can I discover how many arguments a function was actually called with?

637


Explain what are binary trees?

616


Explain a file operation in C with an example.

665


What is printf () in c?

583


Can variables be declared anywhere in c?

626


What are the application of void data type in c?

726


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1543


Write a program of prime number using recursion.

623


What are header files in c programming?

660