When i Compile nd Run the given code
Pelles C gives the output as 18
While
DEV C+ + gives th output as 19(some times it gives it as 18!!)
Why is this happening?
And what is the right answer?
Code:#include<stdio.h> #include<conio.h> int main() { int i=4,x; x=++i + ++i + ++i; printf("%d",x); _getch(); return 0; }