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 |
What is visual c++ used for?
Explain pointer to the constant and constant pointer?
How to Use mfc71d.dll not mfc71.dll ?
What is mfc in vc++?
What is the value of the expression a = 42?
What property is used to indicate that the up-down control is associated with a buddy control?
What is the return value when the InsertItem function fails?
Name some examples of the different types of windows found in a Windows application?
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is a mnemonic?
What is type-safety?
What is microsoft visual c++ redistributable and do I need it?