5275: Told ya!
Type: Posts; User: nicomp
5275: Told ya!
I don't understand. If the first thing that happens is the sum of a with c then a+c should be 12. Instead, a+c is giving 13 which implies that c has been incremented already.
What am I missing?
:rolleyes:
#include <stdio.h>
void main()
{
float a = 4, b = 4, c = 8;
a = (a + c) / ++c;
printf("\n a = %f", a);