Saturday, February 5, 2011

const modifier in c


Explanation of const modifier in c programming language
by examples, questions and answers:


In c all variables are by default not constant. Hence, you can modify the value
of variable by program. You can convert any variable as a constant variable by
using modifier const which is keyword of c language.



Properties of
constant variable:





1. You can
assign the value to the constant

No comments:

Post a Comment