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 mfc in vc++?
What is the purpose of declaring a variable as unsigned?
What is the default label used for in a switch statement?
Differences between vc 6.0 and vc 7.0
What is visual c++ 2008 redistributable x64?
What is the difference between the cout and cin iostream objects?
#include<stdio.h>int(){int a,*b,**c,***d,****e; a=10;b=&a;c=&b;d=&c;e=&c;printf("a=%d b=%u c=%u d=% e=%u",a,b,c,d,e);printf ("%d%d%d\n",a,a+?*b,**c+***d+,****e);return0;}
What is cmutex?
Is visual c++ still used?
What is a mnemonic?
What is microsoft visual c++ 2013 redistributable package x64?
What is microsoft visual c++ 2015 redistributable package x64?