Skip to main content

Writing Your First C Program

Body

Writing Your First C Program



In this part you will learn:
1. C syntax
2. Headers
3. Declaring Variable
4. Brackets and tabs
5. Input/output
In this tutorial I will teach you about how to write a C Program first time. In the first program we will learn about printing on the screen and variable. In the second program we will learn about taking input from the user and displaying It on the screen.

Basic Step:
Open Dev C++ then File > new > source file and start writing the code below.

  1. &#13;<br />
  2. #include<stdio.h>&#13;<br />
  3. #include<conio.h></conio.h></stdio.h>

These two are the most common and basic header files. The first one stdio.h

Add new comment