Hi all,
The compiler doesnot give an error in the following code section. Is
this ansi C compatible? I have tried this out with both gcc and sun
compiler on solaris. The result is the same -- no error. And when
executed, the result is 18.
There is a space between the two + sign.
#include <stdio.h>
int main()
{
int i=5,j=6,k=7;
printf("%d\n", i + 6 + + k);
^^^^
}
TIA
Regards
Sumit