Skip to content

C Language Tutorial

Introduction

C language is one of the most popular programming languages. C Language is a high-level, structured programming language developed by Denis Ritchie in the early 1970s at AT&T Bell Laboratories( Bell Labs).

C Language is generally used for system programming. C has matured over the years since 1970. The purpose of the tutorial is to teach you fundamentals in C programming at an elementary level.

C Language Features

Setup IDE

IDE (Integrated Development Environment) is a software program that manages the process of editing, compiling, linking, running, and debugging C programs.

Code::Blocks IDE

Code::Blocks is an IDE software that allows us to easily manage large C projects edit source code and header files, and compile, link, run, and debug C programs. Code::Blocks is free cross-platform IDE for C/C++ development.

https://www.testingdocs.com/download-and-install-codeblocks/

 

C Progam Compilation

C Compilers

https://www.testingdocs.com/c-compilers/

C Comments

C is a case-sensitive programming language. For example, the variable names interestRate and InterestRate are not the same. The variables can hold different values and they point to different memory locations.

C Variables

https://www.testingdocs.com/c-variables/

C Statements

https://www.testingdocs.com/c-programming-statements/

C Input/Output

The C input and output are defined as Standard Input/Output Library functions

C Program Structure

https://www.testingdocs.com/c-program-structure/

if Statement

https://www.testingdocs.com/c-if-statement/

if-else

https://www.testingdocs.com/c-if-else-statement/

for Loop

https://www.testingdocs.com/c-for-loop-statement/

while Loop

https://www.testingdocs.com/c-while-loop/

Arrays

https://www.testingdocs.com/c-arrays/

C Functions

https://www.testingdocs.com/user-defined-functions-in-c/

C Pointers

https://www.testingdocs.com/c-pointers/

 

Flowchart Tutorials

Flowgorithm is a free flowchart software to build, and execute flowcharts on Windows. Flowgorithm offers flowchart symbols to learn visual programming language.

https://www.testingdocs.com/flowgorithm-flowchart-tutorial/

 

Example C Programs

C program to print Hello World message on the computer screen.

C program to compute the volume of a given cone. This program demonstrates the C input and output functions.