Re: How printf() works???????



sant.tarun@xxxxxxxxx wrote:
I would appreciate some comments about the piece of code given below
and explanation about the result of this specified code.

int x = 20;

printf("%d %d %d",x < 30, x = 40; x > 10);

It doesn't compile.

The output of these code will be :: 0 40 1

No, see above.

Uli

.



Relevant Pages