Answer the following statement(s) true (T) or false (F)
1. C++ functions are constructed to be independent modules.
2. You should make all your variables global if possible.
3. After they’re created, local static variables remain in existence for the program’s lifetime.
4. Static variables can be initialized using other variables.
5. Declaration statements containing the word extern create new storage areas.
1. True
2. False
3. True
3. False
4. False
You might also like to view...
This question asks about nesting of if, if-else, switch, while, do-while, and for statements:
a) These constructs may not be nested in at all. b) These constructs may be nested in any way that meets the needs of algorithms the programmer is coding. c) Only control constructs of a given kind may be nested (while loops within while loops; if-else within if-else etc.) d) The question does not make sense in C++.
What is Adjacent siblings?
What will be an ideal response?
CUMIPMT and CUMPRINC are lookup functions
Indicate whether the statement is true or false
Explain how to restore server roles if one gets corrupted.
What will be an ideal response?