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, '*',

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);

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!