dokhtar_e_sharghi1987z a écrit :
> hi all,
>
> #include<iostream.h>
> main()
> { int x ;
>   x=9 ; x=++x + ++x + x; cout<<x ;
>   x=9 ; cout<<++x + ++x + x ;
>   x=9 ; cout<<x + x++ +x ;
>   x=9 ; x=x + x++ +x; cout<<x ;
> return 0;
> }
>  
>
> why the out put is: 33332728
>
>
>   

by luck

btw, iostream.h is deprecated, main() must be at least int main(), and 
return 0; is implicit in C++ at the main of the main
probably someone willl advise you to change your compiler.

> thanks for opening this message!
>   

Reply via email to