'; var adpushup = adpushup || {}; adpushup.que = adpushup.que || []; adpushup.que.push(function() { adpushup.triggerAd(ad_id); });
Variables can be declared as constant using the const keyword or the #define preprocessor directive. Details about these are given as follows.
Variables can be declared as constants by using the “const” keyword before the datatype of the variable. The constant variables can be initialized once only. The default value of constant variables are zero.
A program that demonstrates the declaration of constant variables in C using const keyword is given as follows.
The output of the above program is as follows.
Variables can be declared as constants by using the #define preprocessor directive as it declares an alias for any value.
A program that demonstrates the declaration of constant variables in C using #define preprocessor directive is given as follows.
The output of the above program is as follows.