Showing posts from October, 2021

Constants

The quantity that doesn’t changes in the program is called as the constant . It can be defined using #define preprocessor directive or by using const keyword. There are four types of constant in C programming: 1. Integer Constants An integer consta…

Character Sets

The set of character that are used to form words, numbers and expressions are called  character sets .  1. Letters A ….. Z    and  a ….. z 2. Digits 0, 1, 2, 3, ……….., 8, 9 3. Special Characters #   ^     ;      ,         .         *    etc. 4. …

Basic Structure of C program

There are following structures of a basic C program. Documentation Section Documentation section consists of a sets of comment lines including name of the program, name of the author and other details. This section uses comments. It is written after /…

Preprocessor Directives

Preprocessor directives are the special instructions which are executed before code passes through the compilation process. It begins with hash (#) symbol and do not require semicolon at the end. One of the most important preprocessor directive is #i…

Escape Sequence

Escape Sequence: Download this note. Escape Sequences are the non—printing characters used in C programming. It is a character combination consisting of a backslash (\) which is followed by a character. It is used to specify actions such as carriage …

Load More
That is All