logo
logo
Sign in

C Programming Constants and Variables

avatar
Tech Mekrz
C Programming Constants and Variables

The variable is assigned value: 95.

A constant is a value or an identifier whose value cannot be altered in a program.

As mentioned, an identifier also can be defined as a constant.

const double PI = 3.14

Here, PI is a constant.

There are three types of integer constants in C programming:

collect
0
avatar
Tech Mekrz
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more