i completely new to the world of c programming. i was reading the chapter of operators and expression. i got confused with increment and decrement operators. as......


#include<stdio.h>
#include<conio.h>
void main()
{
int a,y;
a=3;
y=++a + ++a + ++a;
printf("y=%d",y);
}

as i think it should give me the output

y=15 ( because ........4 + 5 + 6=15)

but it gives me 18

why? please explain it giving more examples.