When you write printf, it means that the contents in brackets will be displayed.
Next is the content in brackets, ("%d! =%d\n ",n, s) Suppose n=2 and s=2.
%d! =%d means that the factorial of 2 is 2.