Which of the following displays the number of characters contained in a string variable named address? a.

Question:

Which of the following displays the number of characters contained in a string variable named address? 

a. cout << address.length() << endl; 

b. cout << numChars(address) << endl; 

c. cout << length(address) << endl; 

d. cout << size.address << endl;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: