Check out example codes for "print variable c". It will help you in understanding the concepts better.

Code Example 1

printf("%d\n", x);

Code Example 2

printf("Hello, World");

Learn ReactJs, React Native from akashmittal.com