What is the purpose of declaring a variable as unsigned?
Answers were Sorted based on User's Feedback
Answer / ganesh
-32768 to +32768 is the range of signed integer
0 to 65536 is the range of unsigned integer
so unsigned integer is used so that u can store value upto
65536 [just an example]
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / satyagmk
The Unsigened types do not hold negative numbers; their
range is from 0 up to some maximum.
| Is This Answer Correct ? | 1 Yes | 0 No |
Is visual c++ the same as c++?
What is the difference between an MLE and an SLE?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
What is microsoft visual c++ 2005 redistributable?
What is the return value when the InsertItem function fails?
how to declare and populate an array of checkBoxes
How to declare more than one variable on a single line?
What is the difference between Boxing and Unboxing in C#
How do you specify which control is the buddy control?
Can I delete old microsoft visual c++?
What is microsoft visual c++ 2013 redistributable?
What is cwinthread class? Explain its advantages.