Small & Simple Programs in C


Advertisements

Let's first start with very small & simple programs to get basic idea of C programming code structure. We shall get the basic idea of variable declaration, scanning and printing etc.

Basic Programs

We shall see the classic "Hello World!" program to get an insight of how a program is written in c. We have programs on variables available in c. These are most commonly used elementary variables. Also, we shall see how arithmetic operations can be performed in a c program.

General Programs

There are programs which we use in our routine, or say a programmer's routine. These programs are easy to understand and should help in understanding style of C programming. We shall see here some of these programs and some cool tricks.

Advertisements