Which of the following statements about named constants is/are true?
A) The initial value of a named constant, cannot be changed during the program execution.
B) The identifier name of a named constant can only contain capital letters and underscores.
C) A named constant must be initialized with a value at the time it is declared.
D) All 3 of the above statements are true.
E) Statements A and C are true, but B is not.
Correct Answer:
Verified
Q5: The cin object can be used to
Q14: In C++, a value can be raised
Q15: Which of the following will allow an
Q16: To use the sqrt()function, or other mathematical
Q17: causes a program to wait until information
Q18: Hand tracing a program is
A)a program design
Q19: When an operator's operands are of different
Q20: The cin object must be followed by
A)one
Q21: The setw manipulator is used to set
Q23: Operator associativity is either left to right
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents