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

Code Example 1

#include <stdio.h>
#include <stdlib.h>

int main() {
  printf("Hello, World!");
  return 0;
}

Code Example 2

#include <stdio.h>
int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}

Code Example 3

print("hello world")

Code Example 4

printf("Hello Based World");

Learn ReactJs, React Native from akashmittal.com