Answer the following statements true (T) or false (F)
1. A variable of the char data type can hold up to 256 characters at a time.
2. Because char variables can hold only one character, they are not assignment-compatible with string variables.
3. String subscripts must be at least 0, and they must be less than the length of the string.
4. You can use a subscript expression such as name[3]='A' to change the value of a character within a string.
1. FALSE
2. TRUE
3. TRUE
4. FALSE
You might also like to view...
To launch any program from the Start menu, select the program from the __________.
a. All Programs menu b. Run menu c. Program name menu d. none of the above
If the Method attribute of a form is set to ____, the form data will be appended to the end of the path specified in the Action box.
A. POST B. GET C. DEFAULT D. ACTION
Access queries can be created in Design view and then modified in SQL view
Indicate whether the statement is true or false
Define the following:
// // Constructor that initializes all components // EmployeeRecord :: EmployeeRecord ( const string& name, const string& ss, double rate ) { } // // Display one EmployeeRecord with labels // ostream& operator<< ( ostream& os, const EmployeeRecord& emp ) { } // // Input one employee record from is // istream& operator>> ( istream& is, EmployeeRecord& emp ) { }