why integer range between -327680to+32767

Answer Posted / nilay

as interger requires 2 bytes means 16 bits i.e. 2 raised to
15 ( 1 bit for sign bit to indicate no. is +ve or -ve) is
32768 to 32767 .if sign bit is not included then it is 2
raised to 16 i.e. 65535.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between syntax vs logical error?

699


What is console in c language?

613


What is pointer to pointer in c language?

599


In which language linux is written?

607


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

637






What is a nested loop?

653


how to construct a simulator keeping the logical boolean gates in c

1732


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5058


Is c easy to learn?

563


What is a c token and types of c tokens?

594


What is sizeof in c?

573


State the difference between x3 and x[3].

655


Explain what are the different file extensions involved when programming in c?

638


What are bitwise shift operators in c programming?

650


Wt are the Buses in C Language

2753