What is the purpose of declaring a variable as unsigned?

Answers were Sorted based on User's Feedback



What is the purpose of declaring a variable as unsigned?..

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

What is the purpose of declaring a variable as unsigned?..

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

Post New Answer

More VC++ AllOther Interview Questions

What is microsoft visual c++ used for?

0 Answers  


Explain the significance of initapplication() in vc++.

0 Answers  


What is a wizard?

0 Answers  


Name the most commonly used wizards?

2 Answers  


Explain the advantages of cwinthread class.

0 Answers  






How will slove problem comes wirh Hybrid Inheritance?

1 Answers   Microsoft,


Differences between vc 6.0 and vc 7.0

1 Answers   Honeywell,


What is the difference between an MLE and an SLE?

1 Answers   Infosys,


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

0 Answers  


In which Way invoke context-sensitive help inside the editor?

0 Answers  


What is visual c++ redistributable?

0 Answers  


how to declare and populate an array of checkBoxes

0 Answers  


Categories