hi ..i m krishna..
can u give me the reason of not getting the output as according to precedence in the below program.....
#include<stdio.h>
#define SQUARE(x) x*x
void main()
{
float s=10,u=30,t=2, a;
a=2*(s-u*t)/SQUARE(t);
printf("result=%f",a)
}
output i m getting on TurboC compiler is == -100.0000
but by pecedence of ' * ' and ' / ' it should be == -25.0000