11. 仗亠舒仂 舒于仆亠仆亳
11
Result: ????
int main()
{
unsigned short a,b,c;
a = 2; b = 5;
if (a > b)
c = 10;
else
c = 20;
printf("Result: C = %d", c);
return 0;
}
12. 仗亠舒仂 舒于仆亠仆亳
12
Result: C = 20
int main()
{
unsigned short a,b,c;
a = 2; b = 5;
if (a > b)
c = 10;
else
c = 20;
printf("Result: C = %d", c);
return 0;
}
13. 仗亠舒仂 舒于仆亠仆亳
13
Result: ????
int main()
{
unsigned short a,b,c;
a = 50; b = 20;
if (a = b)
c = a - b;
else
c = a + b;
printf("Result: C = %d", c);
return 0;
}
14. 仗亠舒仂 舒于仆亠仆亳
14
Result: C = 0
int main()
{
unsigned short a,b,c;
a = 50; b = 20;
if (a = b)
c = a - b;
else
c = a + b;
printf("Result: C = %d", c);
return 0;
}
17. 仂亞亳亠从亳亠 仂仗亠舒仂
17
Result: ????
int main()
{
unsigned short a,b,c;
a = 50; b = 20;
if ((a > b) && (b != 20))
c = a - b;
else
c = a + b;
printf("Result: C = %d", c);
return 0;
}
18. 仂亞亳亠从亳亠 仂仗亠舒仂
18
Result: C = 70
int main()
{
unsigned short a,b,c;
a = 50; b = 20;
if ((a > b) && (b != 20))
c = a - b;
else
c = a + b;
printf("Result: C = %d", c);
return 0;
}
19. 仂亞亳亠从亳亠 仂仗亠舒仂
19
Result: ????
int main()
{
unsigned short c, d;
c = 100; d = 0;
c = !(!c);
d = !(!d);
printf("Result: C = %d, D = %d", c, d);
return 0;
}
20. 仂亞亳亠从亳亠 仂仗亠舒仂
20
Result: C = 1, D = 0
int main()
{
unsigned short c, d;
c = 100; d = 0;
c = !(!c);
d = !(!d);
printf("Result: C = %d, D = %d", c, d);
return 0;
}
26. 弌仂舒于仆仂亶 仂仗亠舒仂
26
int main()
{
unsigned short a, b, c, d;
a = 20; b = 30; c = 100; d = 0;
if (a == 3)
c = 20;
else
{
c = 40;
if (d < 10)
{
d *= 2;
}
}
{
unsigned int e;
a = b = c = d = 0;
}
return 0;
}