Answer the following statements true (T) or false (F)
1) A pointer-based string is a string object.
2) strings are always null terminated.
3) Class string member function max_size returns the maximum size for a string.
4) Class string member function at can throw an out_of_range exception.
5) Class string member function begin returns an iterator.
1. False. A string is an object that provides many different services. A pointer-based
string does not provide any services. Pointer-based strings are null terminated;
strings are not necessarily null terminated. Pointer-based strings are pointers and
strings are objects.
2. False. strings are not necessarily null terminated.
3. True.
4. True.
5. True (it returns a string::iterator).
You might also like to view...
You cannot insert new data into a named range
Indicate whether the statement is true or false
Structured analysis is a traditional systems development technique that uses a series of phases, called the _____, to plan, analyze, design, implement, and support an information system.
A. object-oriented (O-O) analysis B. systems development life cycle (SDLC) C. transaction processing (TP) system D. enterprise resource planning system (ERP)
The CompactLogix members of the ControlLogix family include the 1768 and the 1769 CompactLogix platforms. Both platforms use the same ____________________ modules.
Fill in the blank(s) with the appropriate word(s).
__________ considers the execution history of a related group of processes along with the individual execution history of each process in making scheduling decisions.
A) ?TAT ? B) ?HRRN ? C) ?FSS ? D) ?FCFS