Answer Posted / jim
Question is in error! It should read -32768 to 32767.
An unsigned 16-bit value ranges from 0...65535.
In Hex 0...FFFF
A signed 16-bit value ranges from -32768 ... 32767
In hex 8000...7FFF
Just as 0 is 0, 1 is 1, 7FFF is 32767, FFFF is -1,
8000 is -32768.
So...
8000 FFFE FFFF 0 0001 0002 7FFF
-32768 -2 -1 0 1 2 32767
Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
What is a sequential access file?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is return type in c?
What is methods in c?
Why do we use stdio h and conio h?
How do you determine whether to use a stream function or a low-level function?
Tell us something about keyword 'auto'.
Why is c called a structured programming language?
Explain how can you be sure that a program follows the ansi c standard?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is the argument of a function in c?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Why is c still so popular?
What is array of structure in c?
How can you check to see whether a symbol is defined?