Thursday, 29 August 2013

What is the correct output of this statement?

What is the correct output of this statement?

int a=9,b=6,c=3;
printf("%d%d%d");
I executed this in code blocks 10.05. I got some garbage values. But in a
website the output was given as 3 6 9. What is the correct one?

No comments:

Post a Comment