In C++11, assuming mychar is a char variable and mystring is a string, what is the value of mychar after the following statement executes?

```
mychar = mystring.front();
```
a. the ASCII value of the first character of mystring
b. the first character of mystring
c. nothing, the function is missing an argument
d. this will cause a compiler error


b. the first character of mystring

Computer Science & Information Technology

You might also like to view...

Which of the following terms refers to the size and configuration of a computer case?

A. physical arrangement B. case factor C. case specifications D. form factor

Computer Science & Information Technology

When merging documents, the ________ contains organized data that is merged with a main document

Fill in the blank(s) with correct word

Computer Science & Information Technology

Intel Corporation is the world's largest chipmaker and supplies a sizeable percentage of the microprocessors that power desktops and laptops.

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

Computer Science & Information Technology

Operations, such as addition and subtraction, are called ____________________ operations.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology