Show the printout of the following code

```
char city[7] = "Dallas";
cout << strlen(city);
```

a. 7
b. 6
c. 5
d. 8


b. 6

Computer Science & Information Technology

You might also like to view...

A test method should consist of one simple but comprehensive test.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

One way to access library information is through a ____ library, which is a website that provides online access to library information services.

A. ?UNESCO B. ?brick and mortar C. ?virtual

Computer Science & Information Technology

The following code exchanges the values in variables.   x = y;   y = x;

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Use ____ to close an unresponsive application or process.

A. the Computer window B. Task Manager C. the Explorer window D. the Shut down command

Computer Science & Information Technology