Answer the following statements true (T) or false (F)
1. In C++11 you can use smart pointers to dynamically allocate memory and not worry about deleting the memory when you are finished using it.
2. The weak_ptr can share ownership of a piece of dynamically allocated memory.
3. The unique_ptr is the sole owner of a piece of dynamically allocated memory.
4. To use any of the smart pointers in C++11 you must use the following directive in the header file:
#include
1. T
2. F
3. T
4. T
You might also like to view...
Answer the following statements true (T) or false (F)
1. The expression āeā < āFā is true in ASCII. 2. In C, the || operator is evaluated before the && operator. 3. The controlling expression for a switch statement may not be of type double. 4. The if statement is more general purpose and flexible than the switch statement.
Which of the following statements generates a random integer from 1 to 25, inclusive?
intNum = randGen.Next(1, 25) intNum = randGen.Next(1, 26) intNum = randGen(1, 25) intNum = randGen.NextNumber(1, 26)
The set of information technology (IT) hardware, software, and networks in an organization is called its _____.
a. IT organization b. IT hierarchy c. IT infrastructure d. IT board
Vector graphics are resolution independent.
Answer the following statement true (T) or false (F)