what is constant? explain different types of constant in 'c' with examples?
Answers
Answered by
5
Answer:
In C language, a number or character or string of characters is called a constant. And it can be any data type. Constants are also called as literals. There are two types of constants − Primary constants − Integer, float, and character are called as Primary constants.
Answered by
1
Answer:
constant has a specific value. For example - in expression 4y + 7y the constant is 4 and 7.
Hope this helps you !
Similar questions