Ok, I'm playing a bit with a code, trying do understand some tricks and how does it work, so I don't understand output of this code
int i = 8;
printf("%d", printf("%o", i));
printf("%d", printf("%o ", i));
Printf prints to standard out, and returns int, the count of printed characters. So you get:
10 is the evaluated inner printf that prints octal 8.
and 3, the evaluated outer printf that prints the "return" value of the inner printf = 3 printed chars.