Breaking News

What is Constants in C Programming Language?

There are some values which do not change during the execution of the program. These values are called constants.
Constants are of fixed value that remain unchanged during the execution of a program, and are used in assignment of statements. Constants are stored in variables.

Syntax of constant declaration:

Const datatype var_name = value;

Example of Constant declaration:

Const int a = 5;

In C language there are five types of constants which has been described separately

Check Also

Evaluation of expression In C Programming Language

An expression is a combination of variables, constants and operators arranged according to the syntax of the language. C …