C Language Tutorial

Introduction

C Language is a high-level, structured programming language developed by Denis Ritchie in the early 1970s. C Language is normally used for system programming. In this tutorial, you will learn the basics of the C programming language.

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.