it says,
Write a program to identify the number of bits allocated for a variable of data type “short int”. You are told that computing system employs 2’s complement notation for storing negative integers.
You may use “unsigned short int” to employ the same number of bits to store only positive numbers.
Your program MUST use only while statements (and break if necessary) for looping. Your program MUST NOT include any other library files other than stdio.h and math.h.
and at the end its suppose to look like this
Declaration of a short int variable: short int <variable name>;
Declaration of an unsigned short int variable: unsigned short int <variable name>;
but the problem is that i dont even know what its asking for. i dont know how to start cause i cant really identify my goal.
any help will be appreciated