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

Code Example 1


Code Example 2

int printf(const char *format, ...);

Code Example 3

// Header file for input output functions
#include <stdio.h>

// main function - where execution of the program begins
int main() {
    // prints hello world
    printf("Hello World");
    return 0;
//To compile & Execute:
	//$ gcc HelloWorld.c
	//$ ./a.out
//Check source for more details

Learn ReactJs, React Native from