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 && in c programming?
Which is the best website to learn c programming?
Should a function contain a return statement if it does not return a value?
What are the data types present in c?
What is bash c?
What is pivot in c?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is main function in c?
Write a program to check whether a number is prime or not using c?
what is the difference between class and unio?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
Why does the call char scanf work?
What is a keyword?
List the difference between a While & Do While loops?
What is pre-emptive data structure and explain it with example?