Answer the following statements true (T) or false (F)
1. Vector assignment is well behaved.
2. If v is a vector and i is an int variable, then in the following the value of i can be any nonnegative int value: v[i] = i;
3. If we use an out of range index with a vector, there will be an error message from the compiler.
4. Using the resize member function alone, you can increase the capacity of an STL vector.
5. If vector v has fewer than 24 elements and you call v.resize(24) the newly allocated elements are not initialized.
1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. FALSE
You might also like to view...
If you entered a label that is not associated with a control and click the Error Checking Options button, which of the following is NOT listed as a possible action for you to take?
A) Fix Label B) Ignore Error C) Associate Label with a Control D) Help on this Error
Date & Time functions are available in the Date & Time Library group. _________________________
Answer the following statement true (T) or false (F)