So as always the documentation surprises me [as a beginner] and I see this %z used inside printf while it's not listed in the list of format modifiers of printf! So what is it really?
Code:printf("size = %zu\n", size);
So as always the documentation surprises me [as a beginner] and I see this %z used inside printf while it's not listed in the list of format modifiers of printf! So what is it really?
Code:printf("size = %zu\n", size);
Or you could read the manual which says
Originally Posted by man 3 printf
Thanks, Ah, I did "man printf" and it wasn't listed there too, now I did "man 3 printf" and it's there! Thanks.
Hmmm, that's funny and usefulThanks.