Skip to main content

3. What is Constant?

A constant is an entity with fixed value that doesn't change.It can be stored at a location in memory of the computer and can be reference through that memory addressed.

➡ Constant are fixed value that remain unchanged during the execution of programme and are used in assignment statement constant can be stored in variables.

✖ There are 5 basic types of constant in c

1 Integer constant
2 Real constant
3 character constant
4 String constant
5 Logical constant

 

Comments

Popular posts from this blog

What is sequential flow chart?

These types of flow chart indicates that the flow of control normally passes from one instructions to the next in a sequence with in a programme. Example :- design a flow chart to calculate addition of two number                          

React Js interview questions

 

Math notes

Supremum   math Logical math Recurrence Relation