hi frinds pls let me know wht will be d mechanism of preincrement & post increment i have got the basic idea of these terms but when i had come to htis pariticular question im going wrong so y is it pls anyone can help me

c=(++a)+(++a)+(a++)+(a++);

then if i assume a=5

then

then i will get c as

c=6+7+7+8

which is equal to 28 but it is showing as 27 y so?

c=(++a)+(++a)+(a++)+(a++);

then if i assume a=5

then

then i will get c as

c=6+7+7+8

which is equal to 28 but it is showing as 27 y so?