A constant is a fixed value that can't be change during the execution of the program. its value always fix.
There are two ways to define constant in C programming.
The const keyword is used to define constant in C programming.
If you try to change the the value of PI, it will render compile time error.
#include <stdio.h>int main(){
#define identifier value
#include <stdio.h>#define LENGTH 10
Trending Tutorials