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 microsoft visual c++ redistributable and do I need it?
Is microsoft visual c++ a virus?
Do I need the microsoft visual c++?
What is the difference between Boxing and Unboxing in C#
Explain pointer to the constant and constant pointer? Explain difference between them.
What is persistence?
How will slove problem comes wirh Hybrid Inheritance?
What is vcredist_x86 exe?
#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 InfoViewer?
What is the difference between pointer and reference?
7 Answers IBM, Microsoft, Tech Mahindra,
Do I need microsoft visual c++?