#include<stdio.h>
void main()
{
int a = 7, b = 4;
float m = 38.4, n = 6.4, x;
x = a / 2 + b * m / n + 1 / 2;
printf("%4.1f\n", x);
return 0;
}
#include<stdio.h>
int main()
{
float f = 123.45678;
printf("%.3f", f);
return 0;
}
#include<stdio.h>
int main()
{
int m = 1, n = 2;
m += n;
n = m - n;
m -= n;
printf("%d,%d\n", m, n);
return 0;
}
#include<stdio.h>
int main()
{
char ch = 256;
int n = ch;
printf("%d",n+1);
return 0;
}
#include<stdio.h>
int main()
{
int a = 0, b = 0, c = 0;
if (a++ && (b += a) || ++c);
printf("%d,%d,%d\n", a, b, c);
return 0;
}
#include<stdio.h>
int main()
{
int x = 0, y =