What is the difference between a BYTE and an SBYTE, or a WORD and an SWORD? Nothing. The difference is implied only. The S forces a signed numeric value. O (super) doubles the size of the variable. O The S denotes real numbers.
problem is attached!
I am completely stuck! I really need help! please and thank you so much!
Let's first understand all the terms:
1. BYTE and SBYTE
BYTE is a data type which stores 8 - bit integers (the memory used is 8-bit) of unsigned types, which means it consists of only positive integers.
The range of storing integers in BYTE is 0 to 255.
SBYTE is stands for Signed BYTE which stores 8-bit integers (the memory used is 8-bit) of signed types.
Which means it consists of both positive and negative numbers.
The range of SBYTE of storing integers is -128 to 127.
2. WORD and SWORD
WORD is a data types which stores 16 - bit integers (memory used is 16 bits) of unsigned types.
Which means it consists of only positive integers.
The range of storing integers in WORD is 0 to 65535.
SWORD is a data type which stores 16-bit integers (memory used is 16 bits) of signed types.
Which means it consists of both positive and negative integers.
The range of SWORD of storing integers is -32768 to 32767.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps