Basics of C Programming

⯈Basic C Programs

Getting Started with C Programming Language

Like any natural language we have alphabets, words, sentences, C is a programming language. It’s a language hence it should also have alphabets, words and sentences. The alphabets we call it as “character set”, the words as “tokens” and the sentences as the “instructions”.

The set of instructions is called as a “program”.

So, lets get started with the basics of C programming.

steps in learning language

Group of characters forms a token. Group of tokens forms a instruction and group of instructions forms a program. 

Character set

A character set consists of:

  1. Upper case alphabets (A, B, C, …. Z)
  2. Lower case alphabets (a, b, c, … z)
  3. Digits (0,1,2…,9)
  4. Special Symbols (!, @, #, $, %, ^, &, *, ….. )


A group of characters forms the token. A token is the basic vocabulary of the given programming language. (Like words form the vocabulary in any natural language). There are different types of tokens:

  1. Keywords
  2. Identifiers
  3. Constants
  4. Operators

Let us discuss each of these tokens in detail in the next sections. 

Scroll to Top