5) Calculate the signed 8-bitdecimal representation of each hexadecimal integer
short s1 =75; char c1 = s1;
bool b1 = (s1 ==c1)
The variable b1 will get set tovalue:
false true
double d3 =3.625;
double d4 = (float)(double)d3;
The variable b2 will get set to value:
bool b2 = (d3 ==d4);
false true
float f1 =141.25f;float f2 = -(-f1) -f1;
The variable b3 will get set tovalue:
bool b3 = (f1 – f2== f1);
false true
5) Calculate the signed 8-bit decimal representation of each hexadecimal integer short s1 = 75; char c1 = s
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am