[prev] 65 [next]

Ignoring Expression Results (cont)

printf() returns the number of characters printed. (See man 3 printf for more details)

int x = 123, y = 42;
printf("%d %d\n", x, y);

 

Exercise 6: printf

What value does the above printf() return?