Introduction to C Featured

Hello There, Welcome to Think & Free. Here is the brand new series of Express learning Programming. In this series, I’m going to talk about the GNU C Programming language. Let’s begin This is an Introduction to C Programming, today I will talk about these topics.

  • What is the GNU C Programming Language?
  • How to Start Programming With C.
  • C Program Structure & Program Syntax.

This post I will talk about step by step these topics. First, let’s see What is the GNU C Programming Language?.


GNU C is a general-purpose, Cross-platform, structured, high-level computer programming language. Originally developed at  Bell Labs by Dennis Ritchie. This Language Developed for building Unix Utilities.


C is a compiled language. This type of language will first convert their source codes into machine language instructions. for do that they used some program called a Compiler. The compiler can convert source codes into machine language instructions. compiled instructions can be different between Operating systems or CPU. The reason is all CPU’s and Operating Systems didn’t use the same instructions.

Before, Starting to create a Program using C Language, we need to set up a compiler on our system. GNU GCC Compiler is an official Compiler to do that. Let’s install GNU GCC Compiler on our system.

For Linux

In Linux Systems, follow system package manager for install latest version of the GCC Compiler. Or Follow the instructions in GNU GCC Official installation document.

For Windows

In Microsoft Windows Systems, We can use MinGW Environment. MinGW included GCC Compiler. If you are Microsoft Windows user you can get MinGW setup executable binary via MinGW Official web page.

For Mac Users

Mac users can get a copy of the GNU GCC Compiler source-code and they can manually build a binary and install it. Another way is mac users can use the homebrew package manager to install GCC on their mac system. the command is given below.

brew install gcc


C language syntax rules

This picture gives the basic structure of a C program. In the first line, “#include <stdio.h>“, we can see a Header file including statements or including the preprocessor command header section. “#include” is used to, include a c header file into the program. In future lessons, I will explain everything about these headers.

int main() is the entry point of every c program. it is the main function of c program. all functions must call on this main function. after creating the main function, the main function will be starting with “{” and end with “}“. we must input all statements in this block.

In the main function first, we can see “int i;” int means, it is some datatype of c. and “i” was an identifier to defining a variable. future I will talk about that. In the second line, we can see “// Asking user for value“, that is the way, to single-line comment in C. next line printf("Enter a value");. printf(), is a C function, used to print out some string or any object in C. scanf() and getch() are another c functions. scanf() used to read user inputs. don’t think about that in future I will talk about that.

return 0; this is an another main part of a C program return statement will indicate program or returning value or end state type. this is the main structure of C Program.

That’s it, For this Introduction to C Programming Tutorial. See you back soon with another episode of this series. Leave a comment, tell your ideas, questions in comments.

12 thoughts on “Express learning Programming – Introduction To C

Leave a Reply

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