Mohan Giri
In Runtime
- Messages
- 144
Hello Everyone,
How are you? In C Programming how associativity of operators are implemented. I mean how to identify left operand is unambiguous and right operand is unambiguous????
for example,
int on,act=1,ink=4;
float tig=3.2;
on=ink*act/2+3/2*act+2+tig;
If I evaluate this expression manually, I am getting different answer. I f evaluate using C compiler I am getting different answer. Anybody can help me???????????
How are you? In C Programming how associativity of operators are implemented. I mean how to identify left operand is unambiguous and right operand is unambiguous????
for example,
int on,act=1,ink=4;
float tig=3.2;
on=ink*act/2+3/2*act+2+tig;
If I evaluate this expression manually, I am getting different answer. I f evaluate using C compiler I am getting different answer. Anybody can help me???????????