Which of the following will properly encode the string "\w\\\t" into variable s?

a) ```
s = "\w\\\t";
```
b) ```
s = R"(\w\\\t)";
```
c) ```
s = "\\w\\\\\\t";
```
d) ```
s = "/w///t";
```


b and c (b requires C++11)

Computer Science & Information Technology

You might also like to view...

The rectangle in a flowchart is called the ____ symbol and is used to represent tasks such as calculations.

A. start/stop B. input/output C. process D. flow

Computer Science & Information Technology

Which of the following is NOT a method for creating a new database?

A) A blank desktop database B) A custom Web app C) A database from a style D) A database from a template

Computer Science & Information Technology

A motherboard supports memory module capacities of 64MB through 1GB for a total of 3GB. The motherboard has three memory slots. The customer wants 1.5GB of RAM. Which memory population is the BEST?

A) 512MB in slots 1 and 2, and 64MB in slot 3 B) 256MB in all three slots C) 1GB in all three slots D) 1GB in slot 1 and 512MB in slot 2

Computer Science & Information Technology

____ uses the pointer and then increments it.

A. *ptNum-- B. *--ptNum C. *ptNum++ D. *++ptNum

Computer Science & Information Technology