Q:

The initializer of s8—string(10, \'c\')—creates a string of the given size and character value and then copies that value into s8. It is as if we had written

0

The initializer of s8string(10, 'c')—creates a string of the given size and character value and then copies that value into s8. It is as if we had written.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

string temp(10, 'c'); // temp is cccccccccc
string s8 = temp; // copy temp into s8

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now