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

What is the difference between a function and a method in c?

659


Why we use int main and void main?

645


write a program to find out prime number using sieve case?

1728


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2696


Why doesnt long int work?

702






An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

796


Can 'this' pointer by used in the constructor?

701


What is the data segment that is followed by c?

715


What are the benefits of organizational structure?

665


What is the best style for code layout in c?

710


The file stdio.h, what does it contain?

771


What does sizeof int return?

693


Compare array data type to pointer data type

702


What are global variables and explain how do you declare them?

693


What are local static variables?

720