Which of the following assigns five asterisks to a string variable named divider? a. divider.assign(5, '*'); b.

Question:

Which of the following assigns five asterisks to a string variable named divider?

a. divider.assign(5, '*'); 

b. divider.assign(5, "*"); 

c. divider.assign('*', 5); 

d. assign(divider, '*', 5);

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

Step by Step Answer:

Question Posted: