The first C program is a simple program that prints the text "Hello, student!" to the console. The program is as follows:
#include <stdio.h>
void main(void)
{
printf("Hello student!.");
// Function calling -- this function in stdio.h
}
Output:
Hello student.
-------------------------------
Process exited after 0.03923 seconds with return value 14
Press any key to continue . . .

The first line of the program, #include , tells the compiler to include the stdio.h header file in our code. The stdio.h header file contains the definition of the printf() function, which is used to print text to the console.

main function     ->   is a function from where program get start.
void     ->   is a retrun type // void tell no need to return anything.
main     ->   name of the function every function should have unique name.
()     ->    representation of the function parameters
{}      ->    Body of the function or scop of the function.