Check out example codes for "C %d". It will help you in understanding the concepts better.

Code Example 1

%s - Take the next argument and print it as a string
%d - Take the next argument and print it as an int

Learn ReactJs, React Native from akashmittal.com