First C Program

First C Program Example

/* first C program */

/* Required Header files are 1st included */


/* Every C program starts with a main function. The function type is defined as “Void” here. We will study function types in detail in further chapters. */

void main()
/* The function printf is used to display output on the screen. */
(“Hello, World!\n”);

This program prints – Hello World – on the screen.

Leave a Reply

Your email address will not be published. Required fields are marked *