Given the declaration below, using the assign function, write the statements to assign 20 asterisks (‘*') to the line variable.string line = "";

What will be an ideal response?


line.assign(20, ‘*');

Computer Science & Information Technology

You might also like to view...

Superclass methods with this level of access cannot be called from subclasses.

a. private. b. public. c. protected. d. package.

Computer Science & Information Technology

________ documents cannot be edited after being exported

A) PDF or XPS B) HTML or DOCX C) JPEG or PDF D) DOCX or XPS

Computer Science & Information Technology

The references listed on the reference page are formatted as a ____.

A. First-line paragraph indent B. Hanging indent C. Left indent D. Left and right indent

Computer Science & Information Technology

What command issued from the command prompt will show the route that a packet travels from the issuing computer to another computer?

A. route B. tracert C. ipconfig D. arp

Computer Science & Information Technology