Hello @idontknowhowtocode,
Datatype Modifiers are used with built-in data types to modify the length of data that a particular data type can hold. Data type modifiers available in C++ are:
- Signed: To store negative values also
- Unsigned: To store only positive values.
- Short: To shorten the range of values that int can hold.
- Long: To increase the range of values int can hold.
Yes, we can use two access modifiers with the same variable.
But, you can neither use 1. and 2. together nor 3. and 4. together.
so,
short unsigned, long unsigned, short signed and long signed are permissible only.
Hope, this would help.
Give a like, if you are satisfied.