What are constants? Write different types of constants.
1 Answer
A constant is a value that does not change during program execution.
Constant as the name states is the computer program whose quantity does not change its value during the execution of the program. A constant is something like a universal value like the value of Pi, value of G etc in science. In Q basic the constant is declared by using CONST keyword.
There are two types of constants, they are:
-
Who is a system analyst? What are the characteristics of system analysts? 1
-
What are the different stages of the system development life cycle (SDLC) 1
-
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
-
How does an AI application work? Can a computer really think with the aid of AI? 1