All of the following are advantages of using named constants except
a. they can be used in the place of keywords.
b. it is easier to make a consistent change throughout a program.
c. they help make the program more self documenting.
d. they’re useful for common values such as pi.
a. they can be used in the place of keywords.
You might also like to view...
Given the following code, what namespace does display3 belong to?
{ void print(); void display1(){}; } namespace ns2 { void print(); void display2(){}; } void display3(); int main() { using namespace ns1; using namespace ns2; display1(); display2(); return 0; } void display3() { }
What is the standard color mode for working with color images?
A. RGB B. TIFF C. CMYK D. HSB
When an object is selected and you press Ctrl + D, what happens?
A) It is duplicated. B) It is rotated diagonally. C) It is deleted. D) The Design tab is highlighted.
Which of the following represents the number 25 stored as 8 bits?
A. 00010011 B. 00011001 C. 01101100 D. 10011000