C hello world Program

It’s a simple C program to display hello world text on the screen.

To understand this program, it’s better you should know the following topics:

Program (1): to display hello world.

#include <stdio.h>
#include <conio.h>
void main()
{
// use printf() to display message
printf(" hello world " );
// use getch() to hold output screen
getch();
}

Output (1)

hello world

Published by

Electrical Workbook

We provide tutoring in Electrical Engineering.

Leave a Reply

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