Answer the following statements true (T) or false (F)
1. To get a complete line of 70 or so character into a C-string is as simple as declaring a long enough C-string and then using the >> operator to extract the line from the input.
2. To read a character at a time, or to write a character at a time, declare a character
variable ch and write this:
```
cin >> ch;
```
3. Indexing for Standard string objects does not range check/
4. You can assign a standard string to a C-string variable.
5. It is possible to use a standard string with a string member function as source for the strcpy or strcat functions.
1. False.
2. False.
3. True
4. False
5. True
You might also like to view...
An object’s Me reference refers to:
a) the object itself b) what the programmer specified c) the entry point of the program d) None of the above.
Which of the following could be used to declare abstract method method1 in abstract class Class1 (method1 returns an int and takes no arguments)?
a. public int method1(); b. public int abstract method1(); c. public abstract int method1(); d. public int nonfinal method1();
You must have long-term storage devices for a Linux installation.
Answer the following statement true (T) or false (F)
Case-Based Critical Thinking Question ? Alicia wants to increase the sizes of images on her website in response to users moving the mouse pointer over them. To add this feature, she plans to use JavaScript. In Alicia's JavaScript code, she can refer to a user moving the mouse pointer over an element with the __________ event.
A. load B. mouseover C. mouseout D. submit