Possible Duplicate:
Please help me understanding the error a+++++b in C
In a discussion today the topic of pre/post increment came up.
We tried several combinations of addition and increment:
c = a+++b //works
c = a++ + ++b //works
c = a+++ ++b //works
c = a+++++b // doesn't work, compiler error "error: invalid lvalue in increment
Where is the difference? What exactly does that additional whitespace add for the parser so the program compiles?