Computer Science, asked by ashagarg928, 2 months ago

21. Which of the following statement is false<br />(A) Constant variables need not be defined as they are declared and can be defined later<br />(B) Global constant variables are initialized to zero<br />(C) const keyword is used to define constant values<br />(D) You cannot reassign a value to a constant variable​

Answers

Answered by aavejmomin25
1

Answer:

sorry i dont know what answer

Answered by amardeeppsingh176
0

Answer:

Explanation:

Constant variables need not be defined as they are declared and can be defined later- This statement is false.

You cannot update or modify any variable whose value remains the same throughout your application. At the time of its declaration, a constant variable must be initialised. In C++, the keyword const is put before the variable's data type to declare a constant variable.

A mistake occurs from not declaring and defining the constant variable at the same time. As a result, assertion an is untrue.

Any variable which have a constant value of your programme that cannot be updated or modified. At the time of its declaration, a constant variable must be initialised. In C++, the keyword const is put before the variable's data type to declare a constant variable.

Therefore, the correct option is Constant variables need not be defined as they are declared and can be defined later.

#SPJ2

Similar questions