Which of the following statements about named constants is/are True?
A) A named constant must be initialized with a value at the time it is declared.
B) The identifier name of a named constant can only contain capital letters and underscores.
C) The initial value of a named constant, cannot be changed during the program execution.
D) All 3 of the above statements are True.
E) Statements A and C are True, but B is not.
Correct Answer:
Verified
Q30: The following pair of C++ statements will
Q31: When converting some algebraic expressions to C++,
Q32: The following statement sets the value of
Q33: The _ object causes data to be
Q34: To use the sqrt() function, or other
Q36: When an operator has two operands of
Q37: The cin object must be followed by
A)
Q38: When an arithmetic expression contains two or
Q39: The following statement number = rand() %
Q40: What does the following C++ expression evaluate
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