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
➡ 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
Post a Comment