In a vector, which of the following statements is true?
a) Indexing vector access is range checked.
b) The range of legal index values for a vector is 0 to the value of v.size()-1
c) To add a value use the member function v.push_front( )
d) To manage size of reserve use v.reserve(newReserve)
e) To increase or decrease a vector’s size v.new_size(newSize);
b) The range of legal index values for a vector is 0 to the value of v.size()-1 , and d) To manage size of reserve use v.reserve(newReserve)
a) indexing is not range checked.
b) index values run from 0 to one less than the number of elements
c) use v.push_back( ) to add elements at the back. The mentioned function is not available on the vector. In e) to increase or decrease a vector, use v.resize(newSize);
You might also like to view...
Clip art that is destined for the Web is typically saved in the ____ format.
a. PNG b. GIF c. JPG d. All of the above
If you press the Spacebar after you select text, the selected text will be replaced by a(n) ________
Fill in the blank(s) with correct word
Most mobile operating systems come with some sort of _______________ or application development kit that you can use to create custom apps or add features to existing apps on the device.
Fill in the blank(s) with the appropriate word(s).
"Act with integrity and honesty in dealing with the public, end users, coworkers, management and competitors", would likely be covered in:
A. State and federal laws B. User support industry best practices C. The IT Professional's Handbook D. A professional code of ethical behavior