Which of the following is the correct way to output the value of 4 left justified?

a) printf( "%i", 4 );
b) printf( "%-i", 4 );
c) printf( "4%i", 4 );
d) printf( "4-%i", 4 );

b) printf( "%-i", 4 );

Computer Science & Information Technology

You might also like to view...

When you save a presentation as a video, the default file type is .mp4

Indicate whether the statement is true or false

Computer Science & Information Technology

A common wireless technology for connecting peripherals is ___________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology