okay for instance
what data type is
(x / y + 5)
??
thanks
Code:
int x = 4;
double y = 2;
printf("%d", (x / y + 5));
(x / y + 5)
??
thanks
int x = 4;
double y = 2;
printf("%d", (x / y + 5));
int x = 4;
double y = 2;
double z;
z = x / y + 5;
printf("%d", z); // wrong
printf("%f", z); // right
Comment