PROGRAMMING:How many bytes does the variable have?
In C / C + + language, there are many data types for integer and floating point number. In 32-bit platforms, each type takes up different bytes in memory
char: 1 Byte
int: 4 Byte
long: 4 Byte
long long: 8 Byte
\_\_ Int128: 16 byte (the first two underscores' \ ', This type is only supported in C + +, but does not affect the problem solving.)
float: 4 Byte
double: 8 Byte
long double: 16 Byte
One byte corresponds to 8-bit binary number, which also determines that the range of values they can express is different. Now to give you some data type query, please output its corresponding number of bytes.
It is recommended that you use functions for modular programming, such as:
```
int getByteofType(char t[])
{
}
int main()
{
}
```
###Input format:
The first line is an integer n (1 < = n < = 1000), which indicates the number of types to be queried. The following N lines, each of which gives a type.
###Output format:
An integer on each line that represents the number of bytes corresponding to the type in the input.
###Input example:
```in
six
char
long long
char
int
long
__ int128
```
###Output example:
The corresponding output is given here. For example:
```out
one
eight
one
four
four
sixteen
```
answer:If there is no answer, please comment
char: 1 Byte
int: 4 Byte
long: 4 Byte
long long: 8 Byte
\_\_ Int128: 16 byte (the first two underscores' \ ', This type is only supported in C + +, but does not affect the problem solving.)
float: 4 Byte
double: 8 Byte
long double: 16 Byte
One byte corresponds to 8-bit binary number, which also determines that the range of values they can express is different. Now to give you some data type query, please output its corresponding number of bytes.
It is recommended that you use functions for modular programming, such as:
```
int getByteofType(char t[])
{
}
int main()
{
}
```
###Input format:
The first line is an integer n (1 < = n < = 1000), which indicates the number of types to be queried. The following N lines, each of which gives a type.
###Output format:
An integer on each line that represents the number of bytes corresponding to the type in the input.
###Input example:
```in
six
char
long long
char
int
long
__ int128
```
###Output example:
The corresponding output is given here. For example:
```out
one
eight
one
four
four
sixteen
```
answer:If there is no answer, please comment