why the range of an unsigned integer is double almost than
the signed integer.

Answer Posted / srinivasu

By default int is declared as unsigned integer.It's range is
0 to 65535.Signed integer range is -32767 to 32768.
A variable declared as Unsigned int doesn't holds a negative
value whereas a signed integer does.So signed and unsigned
integer doesn't differ in the range, but in the kind of
value it holds.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2798


Develop a routine to reflect an object about an arbitrarily selected plane

3135


Sir... please give some important coding questions asked by product companies..

1927


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2441


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2970






write a simple calculator c program to perform addition, subtraction, mul and div.

3257


What is data _null_? ,Explain with code when u need to use it in data step programming ?

2920


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2334


Cluster head selection in Wireless Sensor Network using C programming language.

3236


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3124


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3965


Write a program to model an exploding firecracker in the xy plane using a particle system

3780


write a program for area of circumference of shapes

2132


Write a routine to implement the polymarker function

4485


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

611