In my machine output is :- 4 6 6
The Output of the is Also depend upon the machine. In Window Value of integer will be 2 bits but In Unix Operating System , Value of interger is 4bits . So , It also Effect the ooutput .
So , Run and check your program in right machine.
Thank you...