Which output format correctly prints an item description lef

Which output format correctly prints an item description left justified with up to 10 letters?

A) \"%10\"
B) \"%10s\"
C) \"%-10s\"
D) \"-%10s\"

Solution

Answer: C) \"%-10s\"

to get left justified with up to 10 letters, we need to have a percentage sysmbol and followed by minus and followed by number (how many - 10) and followed by letter.

Which output format correctly prints an item description left justified with up to 10 letters? A) \

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site