Solved

In C++11, Assuming Mychar Is a Char Variable and Mystring

Question 20

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions