Preaload Image

C Language Exercises

Corrected exercises in C language addressing The fundamental concepts (types of data, operators, control instructions, functions, tables …) are exposed with great educational care, pointers or dynamic memory management. Numerous exercises, the solution of which is provided, will allow you to test your newly acquired knowledge and to deepen it. The exercises will gradually master all the basics of the language, from operators and expressions to character strings, tables and pointers. The second part offers more elaborate problems, other exercises in various fields of application: sorting, search or counting algorithms, game programs, file processing or mathematical programs.

Exercises by lesson

The basics

Rational types

Simple variables declaration

Formatted reading of data

Reading a single character


Simple if statement

if else statement

if ... else if ... else statement


Basics of pointers

Pointers with arrays