What is the difference between unsigned int and signed int in C?

Question :

What is the difference between unsigned int and signed int in C?

A signed integer can store both the positive and negative values. An unsigned integer can only store the positive value.

For example,

Assuming the size of the integer is 2 bytes.
signed int- 32768 to +32767
unsigned int 0 to 65535


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad